commit e7723f4290dd79eddc2a8dd1d4c2725914a90b55
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Nov 3 19:44:33 2016 +0000
Add latest change to the changelog
commit e2104997ab796eeba320931beaec3bc99fd2d296
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Nov 3 19:43:27 2016 +0000
Pass correct info to updated social links template
commit 586ca9b5446e272ef3b89a615ba0666e6f7d8d82
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Nov 3 19:42:08 2016 +0000
Remove reply/like/repost links, add facebook link
commit 00483089380d2e00d24d86a4b1a03363161c7a97
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Nov 3 19:22:46 2016 +0000
Add dummy Facebook URLs for syndication
commit 2e001b04e36a7fd1198fe5ee70db65cd2523e123
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Nov 3 19:22:11 2016 +0000
Clarify that syndication isn’t being tested during micropub client integration test
30 lines
965 B
PHP
30 lines
965 B
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Model Factories
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may define all of your model factories. Model factories give
|
|
| you a convenient way to create models for testing and seeding your
|
|
| database. Just tell the factory how a default model should look.
|
|
|
|
|
*/
|
|
|
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
|
$factory->define(App\User::class, function (Faker\Generator $faker) {
|
|
return [
|
|
'name' => $faker->name,
|
|
'email' => $faker->safeEmail,
|
|
'password' => bcrypt(str_random(10)),
|
|
'remember_token' => str_random(10),
|
|
];
|
|
});
|
|
|
|
$factory->define(App\Note::class, function (Faker\Generator $faker) {
|
|
return [
|
|
'note' => $faker->paragraph,
|
|
'tweet_id' => $faker->randomNumber(9),
|
|
'facebook_url' => 'https://facebook.com/' . $faker->randomNumber(9),
|
|
];
|
|
});
|