diff --git a/tests/system/DataConverter/DataConverterTest.php b/tests/system/DataConverter/DataConverterTest.php index f56a18d10e48..53a6361bb0de 100644 --- a/tests/system/DataConverter/DataConverterTest.php +++ b/tests/system/DataConverter/DataConverterTest.php @@ -368,7 +368,7 @@ public function testDateTimeConvertDataToDB(): void 'id' => 'int', 'date' => 'datetime', ]; - $converter = $this->createDataConverter($types); + $converter = $this->createDataConverter($types, [], db_connect()); $phpData = [ 'id' => '1', @@ -620,7 +620,7 @@ public function testExtract(): void 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; - $converter = $this->createDataConverter($types); + $converter = $this->createDataConverter($types, [], db_connect()); $phpData = [ 'id' => 1, @@ -652,7 +652,7 @@ public function testExtractWithExtractMethod(): void 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; - $converter = $this->createDataConverter($types, [], null, 'toRawArray'); + $converter = $this->createDataConverter($types, [], db_connect(), 'toRawArray'); $phpData = [ 'id' => 1,