File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
dev/tests/integration/testsuite/Magento/Framework/DB/Adapter/Pdo Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ protected function tearDown(): void
37
37
/**
38
38
* Check PDO stringify fetches options
39
39
*/
40
- public function testStringifyFetches (): void
40
+ public function testStringifyFetchesTrue (): void
41
41
{
42
42
$ tableName = $ this ->resourceConnection ->getTableName ('table_with_int_column ' );
43
43
$ columnId = 'integer_column ' ;
@@ -54,14 +54,7 @@ public function testStringifyFetches(): void
54
54
->columns ([$ columnId ])
55
55
->limit (1 );
56
56
$ result = $ adapter ->fetchOne ($ select );
57
-
58
- $ isStringify = $ adapter ->getConfig ()['driver_options ' ][\PDO ::ATTR_STRINGIFY_FETCHES ] ?? null ;
59
- if ($ isStringify || $ isStringify === null ) {
60
- $ this ->assertIsString ($ result );
61
- } else { // option is set to False
62
- $ this ->assertIsInt ($ result );
63
- }
64
-
57
+ $ this ->assertIsString ($ result );
65
58
$ adapter ->dropTable ($ tableName );
66
59
}
67
60
You can’t perform that action at this time.
0 commit comments