mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Removed empty tests
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
d08c1787a1
commit
e73373a75a
|
@ -1,31 +0,0 @@
|
||||||
<?php
|
|
||||||
namespace Tests\Unit;
|
|
||||||
|
|
||||||
use App\Models\Department;
|
|
||||||
use App\Models\Location;
|
|
||||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
|
||||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
|
||||||
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
|
||||||
use Illuminate\Support\Facades\Hash;
|
|
||||||
use Tests\Unit\BaseTest;
|
|
||||||
|
|
||||||
class DepartmentTest extends BaseTest
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* @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,
|
|
||||||
// ];
|
|
||||||
|
|
||||||
// Department::create($values);
|
|
||||||
// $this->tester->seeRecord('departments', $values);
|
|
||||||
// }
|
|
||||||
}
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?php
|
|
||||||
namespace Tests\Unit;
|
|
||||||
|
|
||||||
use App\Models\Manufacturer;
|
|
||||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
|
||||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
|
||||||
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
|
||||||
use Illuminate\Support\Facades\Hash;
|
|
||||||
use Tests\Unit\BaseTest;
|
|
||||||
|
|
||||||
class ManufacturerTest extends BaseTest
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* @var \UnitTester
|
|
||||||
*/
|
|
||||||
protected $tester;
|
|
||||||
|
|
||||||
// public function testManufacturerAdd()
|
|
||||||
// {
|
|
||||||
// $manufacturers = factory(Manufacturer::class)->make();
|
|
||||||
// $values = [
|
|
||||||
// 'name' => $manufacturers->name,
|
|
||||||
// ];
|
|
||||||
|
|
||||||
// Manufacturer::create($values);
|
|
||||||
// $this->tester->seeRecord('manufacturers', $values);
|
|
||||||
// }
|
|
||||||
}
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?php
|
|
||||||
namespace Tests\Unit;
|
|
||||||
|
|
||||||
use App\Models\Supplier;
|
|
||||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
|
||||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
|
||||||
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
|
||||||
use Illuminate\Support\Facades\Hash;
|
|
||||||
use Tests\Unit\BaseTest;
|
|
||||||
|
|
||||||
class SupplierTest extends BaseTest
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* @var \UnitTester
|
|
||||||
*/
|
|
||||||
protected $tester;
|
|
||||||
|
|
||||||
// public function testSupplierAdd()
|
|
||||||
// {
|
|
||||||
// $supplier = factory(Supplier::class)->make();
|
|
||||||
// $values = [
|
|
||||||
// 'name' => $supplier->name,
|
|
||||||
// ];
|
|
||||||
|
|
||||||
// Supplier::create($values);
|
|
||||||
// $this->tester->seeRecord('suppliers', $values);
|
|
||||||
// }
|
|
||||||
}
|
|
Loading…
Reference in a new issue