File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -727,10 +727,10 @@ public function testAddFilterSection()
727
727
$ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
728
728
$ filters = $ this ->createFilters ($ filtersConfig );
729
729
730
- $ filters = $ filters
730
+ $ list = $ filters
731
731
->addFilter ('Some\OtherClass ' , 'another ' , 'before ' , 'globals ' )
732
- ->initialize ('admin/foo/bar ' );
733
- $ list = $ filters ->getFilters ();
732
+ ->initialize ('admin/foo/bar ' )
733
+ ->getFilters ();
734
734
735
735
$ this ->assertTrue (in_array ('another ' , $ list ['before ' ], true ));
736
736
}
@@ -743,11 +743,11 @@ public function testInitializeTwice()
743
743
$ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
744
744
$ filters = $ this ->createFilters ($ filtersConfig );
745
745
746
- $ filters = $ filters
746
+ $ list = $ filters
747
747
->addFilter ('Some\OtherClass ' , 'another ' , 'before ' , 'globals ' )
748
748
->initialize ('admin/foo/bar ' )
749
- ->initialize ();
750
- $ list = $ filters ->getFilters ();
749
+ ->initialize ()
750
+ ->getFilters ();
751
751
752
752
$ this ->assertTrue (in_array ('another ' , $ list ['before ' ], true ));
753
753
}
You can’t perform that action at this time.
0 commit comments