WIP on QueryTest migration

This commit is contained in:
Daniel J. Summers 2024-10-13 21:33:01 -04:00
parent b48a2a9bf9
commit f757a244b0

19
tests/Unit/QueryTest.php Normal file
View 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');
});
});