diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-04-24 10:45:00 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-04-25 17:56:06 +0200 |
commit | c74fa7955d9392aea954c2e45ed4137fb2bebcbe (patch) | |
tree | 034c93b4b3ccc31e6cc9c27dd87f139569c10c72 /tests/Unit/Database/Migration/Stub | |
parent | b74835a0968c35ad9a0955dd8b5e2f3cf9b72a56 (diff) |
phpunit: Upgrade to version 8, fixed tests, formatting
Use `dms/phpunit-arraysubset-asserts` after `assertArraySubset` got deprecated
Diffstat (limited to 'tests/Unit/Database/Migration/Stub')
-rw-r--r-- | tests/Unit/Database/Migration/Stub/2017_12_24_053300_another_stuff.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/Unit/Database/Migration/Stub/2017_12_24_053300_another_stuff.php b/tests/Unit/Database/Migration/Stub/2017_12_24_053300_another_stuff.php index 65846d16..4adaf3ed 100644 --- a/tests/Unit/Database/Migration/Stub/2017_12_24_053300_another_stuff.php +++ b/tests/Unit/Database/Migration/Stub/2017_12_24_053300_another_stuff.php @@ -3,6 +3,7 @@ namespace Engelsystem\Migrations; use Engelsystem\Database\Migration\Migration; +use Illuminate\Database\Schema\Builder as SchemaBuilder; class AnotherStuff extends Migration { @@ -21,4 +22,12 @@ class AnotherStuff extends Migration { // nope } + + /** + * @return SchemaBuilder + */ + public function getSchema() + { + return $this->schema; + } } |