Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adambinnersley committed Oct 21, 2020
1 parent 9b4ced1 commit 3bc4cc4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
/vendor/
/.idea/
*.lock
*.cache
*.cache
clover.xml
2 changes: 1 addition & 1 deletion src/MegaMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Nav\Operators\Check;

class MegaMenu extends Navigation
class MegaMenu extends Breadcrumb
{
public $megamenu;

Expand Down
6 changes: 3 additions & 3 deletions tests/NavigationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace Nav\Tests;

use PHPUnit\Framework\TestCase;
use Nav\Navigation;
use Nav\Breadcrumb;

class NavigationTest extends TestCase
{
Expand Down Expand Up @@ -191,11 +191,11 @@ public function testSetDropDownClass()

/**
* @covers Nav\Navigation::__construct
* @covers Nav\Navigation::getBreadcrumbSeparator
* @covers Nav\Breadcrumb::getBreadcrumbSeparator
* @covers Nav\Navigation::getCurrent
* @covers Nav\Navigation::getNavigationArray
* @covers Nav\Navigation::parseArray
* @covers Nav\Navigation::setBreadcrumbSeparator
* @covers Nav\Breadcrumb::setBreadcrumbSeparator
* @covers Nav\Navigation::setCurrentURL
* @covers Nav\Navigation::setNavigationArray
*/
Expand Down

0 comments on commit 3bc4cc4

Please sign in to comment.