Skip to content

Commit f93a75d

Browse files
committed
Fix tests & changelog
1 parent 93f30c2 commit f93a75d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
1010

1111
- Added support for MorphOne relationships - https://github.com/rappasoft/laravel-livewire-tables/pull/844
1212
- Added MultiSelectDropdownFilter - https://github.com/rappasoft/laravel-livewire-tables/pull/1011
13+
- FilterSlideDown - Ability to set Default to Open or Closed - https://github.com/rappasoft/laravel-livewire-tables/pull/1017
1314

1415
### Changed
1516

tests/Traits/Helpers/FilterHelpersTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function can_get_component_filters(): void
6464
/** @test */
6565
public function can_get_component_filter_count(): void
6666
{
67-
$this->assertEquals(1, $this->basicTable->getFiltersCount());
67+
$this->assertEquals(2, $this->basicTable->getFiltersCount());
6868
}
6969

7070
/** @test */
@@ -111,7 +111,7 @@ public function can_set_filter_defaults(): void
111111

112112
$this->basicTable->setFilterDefaults();
113113

114-
$this->assertSame(['breed' => []], $this->basicTable->getAppliedFilters());
114+
$this->assertSame(['breed' => [], 'species' => []], $this->basicTable->getAppliedFilters());
115115
}
116116

117117
/** @test */

0 commit comments

Comments
 (0)