20 lines
447 B
PHP
20 lines
447 B
PHP
<?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');
|
|
});
|
|
});
|