@@ -126,6 +126,7 @@ public function testFolders()
126126 $ helper ->shouldReceive ('getThumbFolderName ' )->andReturn ('thumbs ' );
127127 $ helper ->shouldReceive ('isRunningOnWindows ' )->andReturn (false );
128128 $ helper ->shouldReceive ('ds ' )->andReturn ('/ ' );
129+ $ helper ->shouldReceive ('config ' )->with ('item_columns ' )->andReturn (['name ' , 'url ' , 'time ' , 'icon ' , 'is_file ' , 'is_image ' , 'thumb_url ' ]);
129130
130131 $ path = new LfmPath ($ helper );
131132
@@ -145,6 +146,7 @@ public function testFiles()
145146 $ helper ->shouldReceive ('getNameFromPath ' )->andReturn ('bar ' );
146147 $ helper ->shouldReceive ('isRunningOnWindows ' )->andReturn (false );
147148 $ helper ->shouldReceive ('ds ' )->andReturn ('/ ' );
149+ $ helper ->shouldReceive ('config ' )->with ('item_columns ' )->andReturn (['name ' , 'url ' , 'time ' , 'icon ' , 'is_file ' , 'is_image ' , 'thumb_url ' ]);
148150
149151 $ path = new LfmPath ($ helper );
150152
@@ -156,6 +158,7 @@ public function testPretty()
156158 $ helper = m::mock (Lfm::class);
157159 $ helper ->shouldReceive ('getNameFromPath ' )->andReturn ('bar ' );
158160 $ helper ->shouldReceive ('isRunningOnWindows ' )->andReturn (false );
161+ $ helper ->shouldReceive ('config ' )->with ('item_columns ' )->andReturn (['name ' , 'url ' , 'time ' , 'icon ' , 'is_file ' , 'is_image ' , 'thumb_url ' ]);
159162
160163 $ path = new LfmPath ($ helper );
161164
0 commit comments