Skip to content

Commit 1239270

Browse files
committed
Moved feature tests into directory
1 parent d52c020 commit 1239270

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
stopOnFailure="false">
1111
<testsuites>
1212
<testsuite name="Feature Tests">
13-
<directory suffix="Test.php">./tests</directory>
13+
<directory suffix="Test.php">./tests/Feature</directory>
1414
</testsuite>
1515
</testsuites>
1616
<php>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Grimzy\LaravelSpatial\Tests;
2+
namespace Grimzy\LaravelSpatial\Tests\Feature;
33

44
use Symfony\Component\Finder\Finder;
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Grimzy\LaravelSpatial\Tests\Models;
2+
namespace Grimzy\LaravelSpatial\Tests\Feature\Models;
33

44
use Grimzy\LaravelSpatial\Eloquent\SpatialTrait;
55
use Illuminate\Database\Eloquent\Model;
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
namespace Grimzy\LaravelSpatial\Tests;
2+
namespace Grimzy\LaravelSpatial\Tests\Feature;
33

44
use Grimzy\LaravelSpatial\SpatialServiceProvider;
5-
use Grimzy\LaravelSpatial\Tests\Models\GeometryModel;
5+
use Grimzy\LaravelSpatial\Tests\Feature\Models\GeometryModel;
66
use Grimzy\LaravelSpatial\Types\Point;
77
use Illuminate\Filesystem\Filesystem;
88
use Illuminate\Foundation\Testing\TestCase;
@@ -16,7 +16,7 @@ class SpatialTest extends TestCase
1616
*/
1717
public function createApplication()
1818
{
19-
$app = require __DIR__.'/../vendor/laravel/laravel/bootstrap/app.php';
19+
$app = require __DIR__ . '/../../vendor/laravel/laravel/bootstrap/app.php';
2020
$app->register(SpatialServiceProvider::class);
2121

2222
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();

0 commit comments

Comments
 (0)