We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 896b79d commit e0e598aCopy full SHA for e0e598a
src/TestSuite/Fixture/ChecksumTestFixture.php
@@ -114,10 +114,15 @@ protected function _hash(ConnectionInterface $connection): string
114
/**
115
* Get the key for table hashes
116
*
117
- * @return string key for specify connection and table
+ * The key contains:
118
+ * - The table name
119
+ * - The connection name to prevent collisions across connections
120
+ * - The fixture class name to prevent collisions when loading multiple fixtures for the same table throughout a test run
121
+ *
122
+ * @return string Key based on connection, table and fixture class names
123
*/
124
protected function _getTableKey(): string
125
{
- return $this->connection() . '-' . $this->table;
126
+ return $this->connection() . '-' . $this->table . '-' . static::class;
127
}
128
0 commit comments