Skip to content

Commit

Permalink
Merge cb4790e into be2da74
Browse files Browse the repository at this point in the history
  • Loading branch information
othercorey authored Jul 17, 2020
2 parents be2da74 + cb4790e commit 0549283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Phinx/Db/Adapter/MysqlAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1436,8 +1436,8 @@ public function testsHasForeignKeyWithSchemaDotTableName()
->addForeignKey(['ref_table_id'], 'ref_table', ['id'])
->save();

$this->assertTrue($this->adapter->hasForeignKey('phinx.' . $table->getName(), ['ref_table_id']));
$this->assertFalse($this->adapter->hasForeignKey('phinx.' . $table->getName(), ['ref_table_id2']));
$this->assertTrue($this->adapter->hasForeignKey(MYSQL_DB_CONFIG['name'] . '.' . $table->getName(), ['ref_table_id']));
$this->assertFalse($this->adapter->hasForeignKey(MYSQL_DB_CONFIG['name'] . '.' . $table->getName(), ['ref_table_id2']));
}

public function testHasDatabase()
Expand Down

0 comments on commit 0549283

Please sign in to comment.