Skip to content

Commit

Permalink
fix(docs): #498 take date-time value for timestamp (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalinfyom authored and mitulgolakiya committed Mar 14, 2019
1 parent 1f7a521 commit c460bef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Generators/TestTraitGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ private function generateFields()
$fakerData = 'text';
break;
case 'datetime':
case 'timestamp':
$fakerData = "date('Y-m-d H:i:s')";
break;
case 'enum':
Expand Down

0 comments on commit c460bef

Please sign in to comment.