@@ -67,7 +67,7 @@ public function testListAuthIdentifier() {
6767 $ output = new BufferedOutput ();
6868
6969 $ instance ->listMounts ('' , [$ mount1 , $ mount2 ], $ input , $ output );
70- $ output = \json_decode ($ output ->fetchAssociative (), true );
70+ $ output = \json_decode ($ output ->fetch (), true );
7171
7272 $ this ->assertNotEquals ($ output [0 ]['authentication_type ' ], $ output [1 ]['authentication_type ' ]);
7373 }
@@ -88,7 +88,7 @@ public function testDisplayWarningForIncomplete() {
8888 $ output = new BufferedOutput ();
8989
9090 $ instance ->listMounts ('' , [$ mount1 , $ mount2 ], $ input , $ output );
91- $ output = $ output ->fetchAssociative ();
91+ $ output = $ output ->fetch ();
9292
9393 $ this ->assertMatchesRegularExpression ('/Number of invalid storages found/ ' , $ output );
9494 }
@@ -154,7 +154,7 @@ public function testShortView($options, $expectedResult, $mountOptions) {
154154 $ output = new BufferedOutput ();
155155
156156 $ instance ->listMounts ('user1 ' , [$ mount1 , $ mount2 ], $ input , $ output );
157- $ output = $ output ->fetchAssociative ();
157+ $ output = $ output ->fetch ();
158158 if (isset ($ options ['output ' ]) && ($ options ['output ' ] === 'json ' )) {
159159 $ results = \json_decode ($ output , true );
160160 $ countResults = \count ($ results );
@@ -229,7 +229,7 @@ public function testLongView($options, $expectedResult, $mountOptions) {
229229 $ output = new BufferedOutput ();
230230
231231 $ instance ->listMounts ('user1 ' , [$ mount1 , $ mount2 ], $ input , $ output );
232- $ output = $ output ->fetchAssociative ();
232+ $ output = $ output ->fetch ();
233233 if (isset ($ options ['output ' ]) && ($ options ['output ' ] === 'json ' )) {
234234 $ results = \json_decode ($ output , true );
235235 $ countResults = \count ($ results );
@@ -302,7 +302,7 @@ public function testImportableFormat($options, $expectedResult, $mountOptions) {
302302 $ output = new BufferedOutput ();
303303
304304 $ instance ->listMounts ('user1 ' , [$ mount1 , $ mount2 ], $ input , $ output );
305- $ output = $ output ->fetchAssociative ();
305+ $ output = $ output ->fetch ();
306306 if (isset ($ options ['output ' ]) && ($ options ['output ' ] === 'json ' )) {
307307 $ results = \json_decode ($ output , true );
308308 $ countResults = \count ($ results );
0 commit comments