File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -728,10 +728,10 @@ public function testAddFilterSection()
728728 $ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
729729 $ filters = $ this ->createFilters ($ filtersConfig );
730730
731- $ filters = $ filters
731+ $ list = $ filters
732732 ->addFilter ('Some\OtherClass ' , 'another ' , 'before ' , 'globals ' )
733- ->initialize ('admin/foo/bar ' );
734- $ list = $ filters ->getFilters ();
733+ ->initialize ('admin/foo/bar ' )
734+ ->getFilters ();
735735
736736 $ this ->assertTrue (in_array ('another ' , $ list ['before ' ], true ));
737737 }
@@ -744,11 +744,11 @@ public function testInitializeTwice()
744744 $ filtersConfig = $ this ->createConfigFromArray (FiltersConfig::class, $ config );
745745 $ filters = $ this ->createFilters ($ filtersConfig );
746746
747- $ filters = $ filters
747+ $ list = $ filters
748748 ->addFilter ('Some\OtherClass ' , 'another ' , 'before ' , 'globals ' )
749749 ->initialize ('admin/foo/bar ' )
750- ->initialize ();
751- $ list = $ filters ->getFilters ();
750+ ->initialize ()
751+ ->getFilters ();
752752
753753 $ this ->assertTrue (in_array ('another ' , $ list ['before ' ], true ));
754754 }
You can’t perform that action at this time.
0 commit comments