Skip to content

Commit

Permalink
Adjust Tests - Include Coverage For ExcludeDeselectedCols
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Sep 21, 2023
1 parent 93b8777 commit d27fbf4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/Traits/Configuration/ColumnSelectConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,22 @@ public function can_deselect_all_columns(): void

$this->assertSame([], $this->basicTable->selectedColumns);
}

/** @test */
public function can_exclude_deselected_columns_from_query_enabled(): void
{
$this->basicTable->setExcludeDeselectedColumnsFromQueryEnabled();

$this->assertTrue($this->basicTable->getExcludeDeselectedColumnsFromQuery());

$this->basicTable->setExcludeDeselectedColumnsFromQueryDisabled();

$this->assertFalse($this->basicTable->getExcludeDeselectedColumnsFromQuery());

$this->basicTable->setExcludeDeselectedColumnsFromQuery(true);

$this->assertTrue($this->basicTable->getExcludeDeselectedColumnsFromQuery());

}

}

0 comments on commit d27fbf4

Please sign in to comment.