[ 'label' => 'Home', 'url' => '#', ], 'links' => [ [ 'label' => 'Library', 'url' => '#', ], [ 'label' => 'Data', ], ], ]); $expected = << HTML; $this->assertEqualsWithoutLE($expected, $out); } public function testRenderWithoutHomeLink() { Breadcrumbs::$counter = 0; $out = Breadcrumbs::widget([ 'homeLink' => false, 'links' => [ [ 'label' => 'Library', 'url' => '#', ], [ 'label' => 'Data', ], ], ]); $expected = << HTML; $this->assertEqualsWithoutLE($expected, $out); } }