Add SQLite Patch integration tests

- Use multiple-class use statements
This commit is contained in:
2024-06-07 23:06:31 -04:00
parent 1ab961e35a
commit 9fba3781d6
21 changed files with 143 additions and 67 deletions

View File

@@ -2,8 +2,7 @@
namespace Test\Unit;
use BitBadger\PDODocument\Configuration;
use BitBadger\PDODocument\DocumentException;
use BitBadger\PDODocument\{Configuration, DocumentException};
use PHPUnit\Framework\Attributes\TestDox;
use PHPUnit\Framework\TestCase;
@@ -34,6 +33,7 @@ class ConfigurationTest extends TestCase
public function testDbConnFailsWhenNoDSNSpecified(): void
{
$this->expectException(DocumentException::class);
Configuration::$pdoDSN = '';
Configuration::dbConn();
}
}