Skip to content

Commit 9948081

Browse files
committed
Update tests
1 parent c798236 commit 9948081

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/TemplatesTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,18 @@ public function testView($view)
5555

5656
public function testCanResolveFacade()
5757
{
58-
resolve('breadcrumbs')->for('foo', function ($trail, $category) {
58+
$this->expectNotToPerformAssertions();
59+
60+
\Breadcrumbs::for('foo', function ($trail, $category) {
5961
$trail->parent('blog');
6062
$trail->push($category->title, url("blog/category/{$category->id}"));
6163
});
6264
}
6365

64-
public function testCanReferenceDirectly()
66+
public function testCanResolveDirectly()
6567
{
68+
$this->expectNotToPerformAssertions();
69+
6670
\Diglactic\Breadcrumbs\Breadcrumbs::for('bar', function (\Diglactic\Breadcrumbs\Generator $trail) {
6771
$trail->parent('blog');
6872
$trail->push('Bar', 'some/path');

0 commit comments

Comments
 (0)