Skip to content

Commit 04abb58

Browse files
authored
Update TestCase.php
Updated to properly load aliases for testing views.
1 parent bc56171 commit 04abb58

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/TestCase.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,19 @@ public function setUp()
4040
Totem::auth($auth);
4141
}
4242

43+
protected function getPackageAliases($app)
44+
{
45+
return [
46+
'Form' => FormFacade::class,
47+
'Html' => HtmlFacade::class,
48+
];
49+
}
50+
4351
protected function getPackageProviders($app)
4452
{
4553
return [
4654
TotemServiceProvider::class,
55+
HtmlServiceProvider::class,
4756
];
4857
}
4958

0 commit comments

Comments
 (0)