2016-03-25 01:18:05 -07:00
|
|
|
<?php
|
|
|
|
use App\Models\Location;
|
|
|
|
use Illuminate\Support\Facades\Hash;
|
|
|
|
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
|
|
|
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
|
|
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
|
|
|
|
2017-07-11 20:37:02 -07:00
|
|
|
class LocationTest extends BaseTest
|
2016-03-25 01:18:05 -07:00
|
|
|
{
|
|
|
|
/**
|
2017-06-12 17:39:03 -07:00
|
|
|
* @var \UnitTester
|
|
|
|
*/
|
2016-03-25 01:18:05 -07:00
|
|
|
protected $tester;
|
2017-06-12 17:39:03 -07:00
|
|
|
|
2018-02-22 21:46:58 -08:00
|
|
|
// public function testAssetAdd()
|
|
|
|
// {
|
|
|
|
// $location = factory(Location::class)->make();
|
|
|
|
// $values = [
|
|
|
|
// 'name' => $location->name,
|
|
|
|
// ];
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2018-02-22 21:46:58 -08:00
|
|
|
// Location::create($values);
|
|
|
|
// $this->tester->seeRecord('locations', $values);
|
|
|
|
// }
|
2016-03-25 01:18:05 -07:00
|
|
|
}
|