1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 22:26:46 +02:00

feat(tests): update and improve tests

This commit is contained in:
Awilum
2021-08-14 19:47:53 +03:00
parent 3de64f1b75
commit ff2e9e523a

View File

@@ -13,4 +13,12 @@ test('test flextype() helper', function () {
test('test app() helper', function () {
$this->assertSame(app(), Flextype::getInstance()->app());
});
test('test container() helper', function () {
$this->assertSame(container(), Flextype::getInstance()->container());
});
test('test emitter() helper', function () {
$this->assertSame(emitter(), Flextype::getInstance()->container()->get('emitter'));
});