Skip to content

Commit

Permalink
feat: Rm unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
KminekMatej committed Dec 7, 2024
1 parent ad421b1 commit 48f68c1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/module/autotest/entity/UITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,21 @@ public function assertNavbar(DomQuery $dom)

$this->assertDomHas($rightNavDom, "li.nav-item.dropdown");

$discussionMenuDom = $this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 0, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 0, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown[name=discussions] div.dropdown-menu .dropdown-item");
$eventMenuDom = $this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 1, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 1, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown[name=events] div.dropdown-menu .dropdown-item");
$teamMenuDom = $this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 2, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 2, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown[name=team] div.dropdown-menu .dropdown-item", 0, 6);
$pollMenuDom = $this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 3, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 3, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown[name=polls] div.dropdown-menu .dropdown-item");
$debtMenuDom = $this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 4, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 4, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown[name=debts] div.dropdown-menu a.dropdown-item");
$filesMenuDom = $this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 5, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 5, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown[name=files] div.dropdown-menu a.dropdown-item");
$reportsMenuDom = $this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 6, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 6, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown[name=reports] div.dropdown-menu a.dropdown-item", 0, 1);
$settingsMenuDom = $this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 7, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown", 7, 8);
$this->assertDomHas($leftNavDom, "li.nav-item.dropdown[name=settings] div.dropdown-menu a.dropdown-item", 0, 3);
}
}

0 comments on commit 48f68c1

Please sign in to comment.