Create a test container that we can use in any test
This commit is contained in:
parent
d83774ae7d
commit
3d2b518cb4
16 changed files with 179 additions and 117 deletions
|
@ -6,12 +6,15 @@
|
|||
|
||||
namespace Alltube\Test;
|
||||
|
||||
use Alltube\Exception\ConfigException;
|
||||
use Alltube\Exception\DependencyException;
|
||||
use Alltube\Locale;
|
||||
use SmartyException;
|
||||
|
||||
/**
|
||||
* Unit tests for the LocaleTest class.
|
||||
*/
|
||||
class LocaleTest extends BaseTest
|
||||
class LocaleTest extends ContainerTest
|
||||
{
|
||||
/**
|
||||
* Locale class instance.
|
||||
|
@ -22,9 +25,15 @@ class LocaleTest extends BaseTest
|
|||
|
||||
/**
|
||||
* Prepare tests.
|
||||
*
|
||||
* @throws DependencyException
|
||||
* @throws ConfigException
|
||||
* @throws SmartyException
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->localeObject = new Locale('fr_FR');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue