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 @@ -728,10 +728,10 @@ public function testAddFilterSection()
728
728
$ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
729
729
$ filters = $ this ->createFilters ($ filtersConfig );
730
730
731
- $ filters = $ filters
731
+ $ list = $ filters
732
732
->addFilter ('Some\OtherClass ' , 'another ' , 'before ' , 'globals ' )
733
- ->initialize ('admin/foo/bar ' );
734
- $ list = $ filters ->getFilters ();
733
+ ->initialize ('admin/foo/bar ' )
734
+ ->getFilters ();
735
735
736
736
$ this ->assertTrue (in_array ('another ' , $ list ['before ' ], true ));
737
737
}
@@ -744,11 +744,11 @@ public function testInitializeTwice()
744
744
$ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
745
745
$ filters = $ this ->createFilters ($ filtersConfig );
746
746
747
- $ filters = $ filters
747
+ $ list = $ filters
748
748
->addFilter ('Some\OtherClass ' , 'another ' , 'before ' , 'globals ' )
749
749
->initialize ('admin/foo/bar ' )
750
- ->initialize ();
751
- $ list = $ filters ->getFilters ();
750
+ ->initialize ()
751
+ ->getFilters ();
752
752
753
753
$ this ->assertTrue (in_array ('another ' , $ list ['before ' ], true ));
754
754
}
You can’t perform that action at this time.
0 commit comments