Skip to content

Commit

Permalink
Merge pull request #14 from samuelszabo/bug/tableKey
Browse files Browse the repository at this point in the history
Fixing of important bug - tableKey
  • Loading branch information
jippi authored Jan 23, 2019
2 parents 12d5be4 + a748dee commit af11866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TestSuite/Fixture/ChecksumTestFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function truncate(ConnectionInterface $db)
*/
public function drop(ConnectionInterface $db)
{
unset(static::$_tableHashes[$this->table]);
unset(static::$_tableHashes[$this->_getTableKey()]);
return parent::drop($db);
}

Expand All @@ -86,7 +86,7 @@ public function drop(ConnectionInterface $db)
protected function _tableUnmodified($db)
{
$tableKey = $this->_getTableKey();
if (!array_key_exists($this->table, static::$_tableHashes)) {
if (!array_key_exists($tableKey, static::$_tableHashes)) {
return false;
}

Expand Down

1 comment on commit af11866

@tersmitten
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this fix also applicable to the 2.x branch @jippi ?

Please sign in to comment.