diff --git a/tests/TemplatesTest.php b/tests/TemplatesTest.php index 585df20..4ef8bb0 100644 --- a/tests/TemplatesTest.php +++ b/tests/TemplatesTest.php @@ -55,14 +55,18 @@ public function testView($view) public function testCanResolveFacade() { - resolve('breadcrumbs')->for('foo', function ($trail, $category) { + $this->expectNotToPerformAssertions(); + + \Breadcrumbs::for('foo', function ($trail, $category) { $trail->parent('blog'); $trail->push($category->title, url("blog/category/{$category->id}")); }); } - public function testCanReferenceDirectly() + public function testCanResolveDirectly() { + $this->expectNotToPerformAssertions(); + \Diglactic\Breadcrumbs\Breadcrumbs::for('bar', function (\Diglactic\Breadcrumbs\Generator $trail) { $trail->parent('blog'); $trail->push('Bar', 'some/path');