summaryrefslogtreecommitdiff
path: root/tests/Unit/Database
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-10-24 13:35:31 +0200
committermsquare <msquare@notrademark.de>2018-10-24 19:15:07 +0200
commitd985d493a3fdcf4524f67ce0d75f5e4523e8a8d5 (patch)
tree2e68c4eff35aaa8bba26745e726eeef02638b2af /tests/Unit/Database
parent5f46fd2f1506148e7eafa34ab29f88ca299d889c (diff)
Migrations: Added namespace
Diffstat (limited to 'tests/Unit/Database')
-rw-r--r--tests/Unit/Database/Migration/MigrationTest.php2
-rw-r--r--tests/Unit/Database/Migration/Stub/2001_04_11_123456_create_lorem_ipsum_table.php2
-rw-r--r--tests/Unit/Database/Migration/Stub/2017_12_24_053300_another_stuff.php2
-rw-r--r--tests/Unit/Database/Migration/Stub/2022_12_22_221222_add_some_feature.php2
4 files changed, 7 insertions, 1 deletions
diff --git a/tests/Unit/Database/Migration/MigrationTest.php b/tests/Unit/Database/Migration/MigrationTest.php
index 43bded09..2fa1b6c0 100644
--- a/tests/Unit/Database/Migration/MigrationTest.php
+++ b/tests/Unit/Database/Migration/MigrationTest.php
@@ -2,7 +2,7 @@
namespace Engelsystem\Test\Unit\Database;
-use AnotherStuff;
+use Engelsystem\Migrations\AnotherStuff;
use Illuminate\Database\Schema\Builder as SchemaBuilder;
use PHPUnit\Framework\MockObject\MockBuilder;
use PHPUnit\Framework\TestCase;
diff --git a/tests/Unit/Database/Migration/Stub/2001_04_11_123456_create_lorem_ipsum_table.php b/tests/Unit/Database/Migration/Stub/2001_04_11_123456_create_lorem_ipsum_table.php
index 0cc89e07..307b776e 100644
--- a/tests/Unit/Database/Migration/Stub/2001_04_11_123456_create_lorem_ipsum_table.php
+++ b/tests/Unit/Database/Migration/Stub/2001_04_11_123456_create_lorem_ipsum_table.php
@@ -1,5 +1,7 @@
<?php
+namespace Engelsystem\Migrations;
+
use Engelsystem\Database\Migration\Migration;
use Illuminate\Database\Schema\Blueprint;
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 d4d7e5f8..65846d16 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
@@ -1,5 +1,7 @@
<?php
+namespace Engelsystem\Migrations;
+
use Engelsystem\Database\Migration\Migration;
class AnotherStuff extends Migration
diff --git a/tests/Unit/Database/Migration/Stub/2022_12_22_221222_add_some_feature.php b/tests/Unit/Database/Migration/Stub/2022_12_22_221222_add_some_feature.php
index cf2762de..32317f71 100644
--- a/tests/Unit/Database/Migration/Stub/2022_12_22_221222_add_some_feature.php
+++ b/tests/Unit/Database/Migration/Stub/2022_12_22_221222_add_some_feature.php
@@ -1,5 +1,7 @@
<?php
+namespace Engelsystem\Migrations;
+
use Engelsystem\Database\Migration\Migration;
class AddSomeFeature extends Migration