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