Add GDPR compliance (#1296)

This commit is contained in:
Régis Freyd
2018-05-20 16:00:03 -04:00
committed by GitHub
parent e70428895d
commit 9018b558b8
46 changed files with 1289 additions and 63 deletions
+17
View File
@@ -297,6 +297,23 @@ $factory->define(App\ImportJobReport::class, function (Faker\Generator $faker) {
return [];
});
$factory->define(App\Models\Settings\Term::class, function (Faker\Generator $faker) {
return [
'term_version' => $faker->realText(50),
'term_content' => $faker->realText(50),
'privacy_version' => $faker->realText(50),
'privacy_content' => $faker->realText(50),
];
});
$factory->define(App\Models\Settings\Currency::class, function (Faker\Generator $faker) {
return [
'iso' => $faker->realText(10),
'name' => $faker->realText(10),
'symbol' => $faker->realText(10),
];
});
$factory->define(\Laravel\Cashier\Subscription::class, function (Faker\Generator $faker) {
static $account_id;
static $stripe_plan;