snipe-it/tests/unit/DepartmentTest.php

30 lines
777 B
PHP
Raw Normal View History

2017-05-23 03:03:30 -07:00
<?php
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;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Support\Facades\Hash;
2017-05-23 03:03:30 -07:00
class DepartmentTest extends BaseTest
2017-05-23 03:03:30 -07:00
{
/**
* @var \UnitTester
*/
protected $tester;
// 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
// Department::create($values);
// $this->tester->seeRecord('departments', $values);
// }
2017-05-23 03:03:30 -07:00
}