Move models to their own subdirectory
This commit is contained in:
parent
2c5b0f3ab5
commit
2a0d188313
67 changed files with 82 additions and 86 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
namespace Tests\Unit;
|
||||
|
||||
use App\Place;
|
||||
use Tests\TestCase;
|
||||
use App\Models\Place;
|
||||
use App\Services\PlaceService;
|
||||
use Phaza\LaravelPostgis\Geometries\Point;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
|
@ -62,7 +62,7 @@ class PlacesTest extends TestCase
|
|||
'url' => ['https://www.openstreetmap.org/way/1234'],
|
||||
]
|
||||
]);
|
||||
$this->assertInstanceOf('App\Place', $ret); // a place was returned
|
||||
$this->assertInstanceOf('App\Models\Place', $ret); // a place was returned
|
||||
$this->assertEquals(2, count(Place::all())); // still 2 places
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue