Skip to content

Commit

Permalink
Merge pull request #1 from sizuhiko/develop
Browse files Browse the repository at this point in the history
remove var_dump
  • Loading branch information
sizuhiko committed Mar 14, 2015
2 parents 67319e0 + daab9b0 commit eec1d54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Adaptor/CakeFabricateAdaptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ public function create($modelName, $attributes, $recordCount)
public function build($modelName, $data)
{
$table = TableRegistry::get($modelName);
var_dump($this->options);
$entity = $table->newEntity($data, ['validate' => $this->options[self::OPTION_VALIDATE]]);
return $entity;
}
Expand Down
1 change: 0 additions & 1 deletion tests/TestCase/CakeFabricateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public function testBuildErrorIfValidateTrue() {
$result = Fabricate::build('Posts', function($data){
return ["title" => ""];
});
var_dump($result);
$this->assertArrayHasKey('title', $result->errors());
}

Expand Down

0 comments on commit eec1d54

Please sign in to comment.