WIP on QueryTest migration
This commit is contained in:
parent
b48a2a9bf9
commit
f757a244b0
19
tests/Unit/QueryTest.php
Normal file
19
tests/Unit/QueryTest.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* @author Daniel J. Summers <daniel@bitbadger.solutions>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use BitBadger\PDODocument\{Configuration, Query};
|
||||
|
||||
pest()->group('unit');
|
||||
|
||||
afterEach(function () { Configuration::overrideMode(null); });
|
||||
|
||||
describe('::selectFromTable()', function () {
|
||||
test('correctly forms a query', function () {
|
||||
expect(Query::selectFromTable('testing'))->toBe('SELECT data FROM testing');
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user