Skip to content

Commit 63efcb8

Browse files
committed
Include StatementIntegrationTest
This test checks that values are bound with the correct PDO type when a statement runs, which nothing else covers. It was excluded from the suite before, so it never ran. It is worth keeping, so now it runs.
1 parent ff1b8a4 commit 63efcb8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎phpunit.xml.dist‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<testsuites>
1919
<testsuite name="unit test">
2020
<directory>./test/unit</directory>
21-
<exclude>./test/unit/Adapter/Driver/Pdo/StatementIntegrationTest.php</exclude>
2221
</testsuite>
2322
<testsuite name="integration test">
2423
<directory>./test/integration</directory>

‎test/integration/Adapter/Driver/Pdo/AbstractAdapterTestCase.php‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
use function getmypid;
1010
use function shell_exec;
1111

12-
#[CoversMethod(AdapterInterface::class, '__construct()')]
12+
#[CoversMethod(AdapterInterface::class, 'getDriver')]
13+
#[CoversMethod(AdapterInterface::class, 'getPlatform')]
1314
abstract class AbstractAdapterTestCase extends TestCase
1415
{
1516
use AdapterTrait;

0 commit comments

Comments
 (0)