Skip to content

Commit

Permalink
allow laravel 6.* ...
Browse files Browse the repository at this point in the history
  • Loading branch information
fico7489 committed Sep 28, 2019
1 parent fd30610 commit 8c4aeef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
}
],
"require": {
"illuminate/database": ">5.5.0"
"illuminate/database": ">5.5.0 || 6.*"
},
"require-dev": {
"orchestra/testbench": "3.*",
"friendsofphp/php-cs-fixer": "2.*"
"orchestra/testbench": ">3.0",
"friendsofphp/php-cs-fixer": ">2.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Models/Seller.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ protected static function boot()
parent::boot();

static::creating(function ($model) {
$model->{$model->getKeyName()} = str_random(16);
$model->{$model->getKeyName()} = \Str::random(16);
});
}

Expand Down

0 comments on commit 8c4aeef

Please sign in to comment.