Skip to content
Permalink
Browse files

whitespace corrections

  • Loading branch information...
AD7six committed Nov 4, 2013
1 parent 510574c commit 1742bda459741650b5857dfaefbb30ec0245fc38
Showing with 3 additions and 5 deletions.
  1. +3 −5 Cake/Test/TestCase/Model/Behavior/TimestampBehaviorTest.php
@@ -265,10 +265,10 @@ public function testSetTimestampExplicit() {
*
* @return void
*/
public function testSaveTriggersInsert() {
public function testSaveTriggersInsert() {
$this->loadFixtures('User'); //@TODO make fixtures more consistent/easier to use
$table = TableRegistry::get('users');
$table = TableRegistry::get('users');
$table->addBehavior('Timestamp', [
'events' => [
'Model.beforeSave' => [
@@ -278,9 +278,7 @@ public function testSaveTriggersInsert() {
]
]);
$entity = new Entity([
'username' => 'timestamp',
]);
$entity = new Entity(['username' => 'timestamp test']);
$return = $table->save($entity);
$this->assertSame($return, $entity);

0 comments on commit 1742bda

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