@@ -77,9 +77,9 @@ private function makeView(int $id, string $title): View {
7777 $ view ->setTitle ($ title );
7878 $ view ->setEmoji (null );
7979 $ view ->setDescription (null );
80- $ view ->setFilter ([]);
81- $ view ->setSort ([]);
82- $ view ->setColumnSettings ([]);
80+ $ view ->setFilterArray ([]);
81+ $ view ->setSortArray ([]);
82+ $ view ->setColumnsArray ([]);
8383 return $ view ;
8484 }
8585
@@ -252,7 +252,7 @@ public function testAddViewWithColumnRemapping(): void {
252252 $ this ->service ->apply (1 ,
253253 $ this ->baseScheme (
254254 [$ this ->srcCol ($ srcColId , 'Score ' , 'number ' )],
255- [['title ' => 'Score View ' , 'filter ' => [[['columnId ' => $ srcColId , 'operator ' => 'is-not- empty ' , 'value ' => '' ]]], 'sort ' => [], 'columns ' => [], 'columnSettings ' => []]],
255+ [['title ' => 'Score View ' , 'filter ' => [[['columnId ' => $ srcColId , 'operator ' => 'is-empty ' , 'value ' => '' ]]], 'sort ' => [], 'columns ' => [], 'columnSettings ' => []]],
256256 ),
257257 [
258258 'columnsAdd ' => [$ srcColId ],
@@ -275,7 +275,7 @@ public function testViewFilterReferencesUnknownSourceColumnThrows(): void {
275275 $ this ->service ->apply (1 ,
276276 $ this ->baseScheme (
277277 [],
278- [['title ' => 'V ' , 'filter ' => [[['columnId ' => 999 , 'operator ' => 'is-not- empty ' , 'value ' => '' ]]], 'sort ' => [], 'columns ' => [], 'columnSettings ' => []]],
278+ [['title ' => 'V ' , 'filter ' => [[['columnId ' => 999 , 'operator ' => 'is-empty ' , 'value ' => '' ]]], 'sort ' => [], 'columns ' => [], 'columnSettings ' => []]],
279279 ),
280280 ['viewsAdd ' => ['V ' ]]
281281 );
0 commit comments