2017-05-23 03:03:30 -07:00
|
|
|
<?php
|
2021-06-10 13:15:52 -07:00
|
|
|
|
2017-06-12 17:39:03 -07:00
|
|
|
use App\Models\Department;
|
2017-05-23 03:03:30 -07:00
|
|
|
use App\Models\Location;
|
|
|
|
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
|
|
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
2017-06-12 17:39:03 -07:00
|
|
|
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
|
|
|
use Illuminate\Support\Facades\Hash;
|
2017-05-23 03:03:30 -07:00
|
|
|
|
2017-07-11 20:37:02 -07:00
|
|
|
class DepartmentTest extends BaseTest
|
2017-05-23 03:03:30 -07:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var \UnitTester
|
|
|
|
*/
|
|
|
|
protected $tester;
|
|
|
|
|
2018-02-22 21:46:58 -08:00
|
|
|
// public function testDepartmentAdd()
|
|
|
|
// {
|
|
|
|
// $department = factory(Department::class)->make();
|
|
|
|
// $values = [
|
|
|
|
// 'name' => $department->name,
|
|
|
|
// 'user_id' => $department->user_id,
|
|
|
|
// 'manager_id' => $department->manager_id,
|
|
|
|
// ];
|
2017-05-23 03:03:30 -07:00
|
|
|
|
2018-02-22 21:46:58 -08:00
|
|
|
// Department::create($values);
|
|
|
|
// $this->tester->seeRecord('departments', $values);
|
|
|
|
// }
|
2017-05-23 03:03:30 -07:00
|
|
|
}
|