Skip to content
Permalink
Browse files

Fix an error from a previous build.

  • Loading branch information...
robertpustulka committed Feb 22, 2018
1 parent 828cceb commit 0a2447ae4cd4fbfe84de83b2d3cd13ec8904403d
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/TestCase/ORM/TableRegressionTest.php
@@ -74,7 +74,7 @@ public function testSaveNoPrimaryKeyException()
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('primary key');
$table = TableRegistry::get('Authors');
$table = $this->getTableLocator()->get('Authors');
$table->getSchema()->dropConstraint('primary');
$entity = $table->find()->first();

0 comments on commit 0a2447a

Please sign in to comment.
You can’t perform that action at this time.