Update tests
This commit is contained in:
@ -1,6 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
use App\contract\Auth;
|
||||||
|
|
||||||
class ContractTest extends TestCase {
|
class ContractTest extends TestCase {
|
||||||
public function test
|
public function testContract() {
|
||||||
|
Auth::logout();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,8 +3,8 @@ use PHPUnit\Framework\TestCase;
|
|||||||
use App\Service\Auth;
|
use App\Service\Auth;
|
||||||
|
|
||||||
class ServiceTest extends TestCase {
|
class ServiceTest extends TestCase {
|
||||||
protected $service;
|
public function testLoad() {
|
||||||
public function setUp() {
|
|
||||||
$this->service = new Auth();
|
$this->service = new Auth();
|
||||||
|
$this->assertTrue($this->service != false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user