Skip to content

Commit

Permalink
remove var_dump
Browse files Browse the repository at this point in the history
  • Loading branch information
sizuhiko committed Mar 8, 2015
1 parent 67319e0 commit daab9b0
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 daab9b0

Please sign in to comment.