Switch to phpunit 8
This commit is contained in:
parent
54f41d9396
commit
fea1cce2d4
21 changed files with 330 additions and 335 deletions
|
@ -36,7 +36,7 @@ class LocaleMiddlewareTest extends BaseTest
|
|||
/**
|
||||
* Prepare tests.
|
||||
*/
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->container = new Container();
|
||||
$this->container['locale'] = LocaleManager::getInstance();
|
||||
|
@ -48,7 +48,7 @@ class LocaleMiddlewareTest extends BaseTest
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$this->container['locale']->unsetLocale();
|
||||
LocaleManager::destroyInstance();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue