Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nrother committed Feb 21, 2017
1 parent 506852e commit 8aa209d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TestCase/View/Form/EntityContextTest.php
Expand Up @@ -449,7 +449,7 @@ public function testValBasic()

/**
* Test default values when entity is an array.
*
*
* @return void
*/
public function testValDefaultArray()
Expand All @@ -458,8 +458,8 @@ public function testValDefaultArray()
'entity' => ['title' => 'foo'],
'table' => 'Articles',
]);
$this->assertEquals('foo', $context->val('title', ['default' => 'bar']));
$this->assertEquals('bar', $context->val('nottitle', ['default' => 'bar']));
$this->assertEquals('Articles.foo', $context->val('title', ['default' => 'bar']));
$this->assertEquals('Articles.bar', $context->val('nottitle', ['default' => 'bar']));
}

/**
Expand Down

0 comments on commit 8aa209d

Please sign in to comment.