Finish Component API testing

This commit is contained in:
James Brooks
2015-06-02 19:44:17 +01:00
parent 9de5847004
commit 4245b95406
2 changed files with 34 additions and 3 deletions

View File

@@ -20,3 +20,14 @@ $factory->define('CachetHQ\Cachet\Models\User', function ($faker) {
'level' => 1,
];
});
$factory->define('CachetHQ\Cachet\Models\Component', function ($faker) {
return [
'name' => $faker->sentence(),
'description' => $faker->paragraph(),
'link' => $faker->url(),
'status' => 1,
'order' => 0,
'user_id' => 1,
];
});