mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Removed test for deprecated NegationFilter
This commit is contained in:
parent
888f32c6d1
commit
3932241844
@ -394,13 +394,6 @@ class DataListTest extends SapphireTest {
|
||||
// $this->assertEquals('Joe', $list->Last()->Name, 'Last comment should be from Joe');
|
||||
// }
|
||||
|
||||
public function testSimpleNegationFilter() {
|
||||
$list = DataObjectTest_TeamComment::get();
|
||||
$list = $list->filter('TeamID:Negation', $this->idFromFixture('DataObjectTest_Team', 'team1'));
|
||||
$this->assertEquals(1, $list->count());
|
||||
$this->assertEquals('Phil', $list->first()->Name, 'First comment should be from Bob');
|
||||
}
|
||||
|
||||
public function testSimplePartialMatchFilter() {
|
||||
$list = DataObjectTest_TeamComment::get();
|
||||
$list = $list->filter('Name:PartialMatch', 'o')->sort('Name');
|
||||
|
Loading…
Reference in New Issue
Block a user