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
3737 /**
3838 * Check PDO stringify fetches options
3939 */
40- public function testStringifyFetches (): void
40+ public function testStringifyFetchesTrue (): void
4141 {
4242 $ tableName = $ this ->resourceConnection ->getTableName ('table_with_int_column ' );
4343 $ columnId = 'integer_column ' ;
@@ -54,14 +54,7 @@ public function testStringifyFetches(): void
5454 ->columns ([$ columnId ])
5555 ->limit (1 );
5656 $ 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 );
6558 $ adapter ->dropTable ($ tableName );
6659 }
6760
You can’t perform that action at this time.
0 commit comments