Skip to content

Commit bb6e4da

Browse files
Fix merge
1 parent b3a2301 commit bb6e4da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Symfony/Component/Cache/Tests/Adapter/DoctrineDbalAdapterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function testConfigureSchema()
7979
$schema = new Schema();
8080

8181
$adapter = new DoctrineDbalAdapter($connection);
82-
$adapter->configureSchema($schema, $connection);
82+
$adapter->configureSchema($schema, $connection, fn() => true);
8383
$this->assertTrue($schema->hasTable('cache_items'));
8484
}
8585

@@ -89,7 +89,7 @@ public function testConfigureSchemaDifferentDbalConnection()
8989
$schema = new Schema();
9090

9191
$adapter = $this->createCachePool();
92-
$adapter->configureSchema($schema, $otherConnection);
92+
$adapter->configureSchema($schema, $otherConnection, fn () => false);
9393
$this->assertFalse($schema->hasTable('cache_items'));
9494
}
9595

@@ -100,7 +100,7 @@ public function testConfigureSchemaTableExists()
100100
$schema->createTable('cache_items');
101101

102102
$adapter = new DoctrineDbalAdapter($connection);
103-
$adapter->configureSchema($schema, $connection);
103+
$adapter->configureSchema($schema, $connection, fn() => true);
104104
$table = $schema->getTable('cache_items');
105105
$this->assertEmpty($table->getColumns(), 'The table was not overwritten');
106106
}

src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/ConnectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public function testConfigureSchemaDifferentDbalConnection()
422422
$schema = new Schema();
423423

424424
$connection = new Connection([], $driverConnection);
425-
$connection->configureSchema($schema, $driverConnection2, fn() => true);
425+
$connection->configureSchema($schema, $driverConnection2, fn() => false);
426426
$this->assertFalse($schema->hasTable('messenger_messages'));
427427
}
428428

0 commit comments

Comments
 (0)