From ff2e9e523ad038bdd999c0bc0275011407c19a33 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 14 Aug 2021 19:47:53 +0300 Subject: [PATCH] feat(tests): update and improve tests --- tests/src/flextype/core/HelpersTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/src/flextype/core/HelpersTest.php b/tests/src/flextype/core/HelpersTest.php index 47af2278..78e77d46 100644 --- a/tests/src/flextype/core/HelpersTest.php +++ b/tests/src/flextype/core/HelpersTest.php @@ -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')); }); \ No newline at end of file