test cases inherit from PhpUnit testcase with namespeces
This name is available since phpunit 4.8.36 and 5.4.3.
This commit is contained in:
parent
191dc6fc3d
commit
7a8ed48e3d
32 changed files with 33 additions and 33 deletions
|
|
@ -4,7 +4,7 @@ namespace Tests\b8;
|
|||
|
||||
use b8\Config, b8\Cache;
|
||||
|
||||
class CacheTest extends \PHPUnit_Framework_TestCase
|
||||
class CacheTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testCreateSingleton()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Tests\b8;
|
|||
use b8\Config;
|
||||
use b8\Database;
|
||||
|
||||
class DatabaseTest extends \PHPUnit_Framework_TestCase
|
||||
class DatabaseTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected function setUp()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Tests\b8;
|
|||
|
||||
use b8\Form, b8\Config;
|
||||
|
||||
class FormTest extends \PHPUnit_Framework_TestCase
|
||||
class FormTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testFormBasics()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Tests\b8;
|
|||
|
||||
use b8\Exception\HttpException;
|
||||
|
||||
class HttpExceptionTest extends \PHPUnit_Framework_TestCase
|
||||
class HttpExceptionTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testHttpExceptionIsException()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Tests\b8;
|
|||
use b8\View;
|
||||
use b8\View\Template;
|
||||
|
||||
class ViewTest extends \PHPUnit_Framework_TestCase
|
||||
class ViewTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testSimpleView()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue