Skip to content

Commit

Permalink
Adding Tools/Toolbar Enable Tests (#1986)
Browse files Browse the repository at this point in the history
* Adding Tools/Toolbar Enable Tests

* Fix styling

---------

Co-authored-by: lrljoe <[email protected]>
  • Loading branch information
lrljoe and lrljoe authored Oct 1, 2024
1 parent 61a9b66 commit e6f3656
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/Traits/Helpers/ToolsHelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ public function test_can_get_toolbar_status(): void
$this->assertFalse($this->basicTable->getToolBarStatus());
$this->assertTrue($this->basicTable->getToolsStatus());

$this->basicTable->setToolBarEnabled();

$this->assertTrue($this->basicTable->getToolBarStatus());
$this->assertTrue($this->basicTable->getToolsStatus());

}

public function test_can_get_tools_status(): void
Expand All @@ -27,6 +32,12 @@ public function test_can_get_tools_status(): void

$this->assertFalse($this->basicTable->getToolsStatus());
$this->assertTrue($this->basicTable->getToolBarStatus());

$this->basicTable->setToolsEnabled();

$this->assertTrue($this->basicTable->getToolsStatus());
$this->assertTrue($this->basicTable->getToolBarStatus());

}

public function test_can_get_tools_should_display(): void
Expand Down

0 comments on commit e6f3656

Please sign in to comment.