Add config details to README

This commit is contained in:
2024-06-11 07:03:50 -04:00
parent 2f1db190d7
commit d6d70fe406
2 changed files with 21 additions and 2 deletions

View File

@@ -161,7 +161,7 @@ class QueryTest extends TestCase
#[TestDox('Insert succeeds with auto random string for SQLite')]
public function testInsertSucceedsWithAutoRandomStringForSQLite(): void
{
Configuration::$mode = Mode::SQLite;
Configuration::$mode = Mode::SQLite;
try {
$query = Query::insert('test_tbl', AutoId::RandomString);
$this->assertStringStartsWith("INSERT INTO test_tbl VALUES (json_set(:data, '$.id', '", $query,
@@ -170,7 +170,7 @@ class QueryTest extends TestCase
$id = str_replace(["INSERT INTO test_tbl VALUES (json_set(:data, '$.id', '", "'))"], '', $query);
$this->assertEquals(16, strlen($id), "Generated ID [$id] should have been 16 characters long");
} finally {
Configuration::$mode = null;
Configuration::$mode = null;
}
}