@@ -54,7 +54,7 @@ public function it_stores_a_collection_import()
5454 $ this ->assertNotNull ($ import );
5555 $ this ->assertEquals ('Posts ' , $ import ->name ());
5656 $ this ->assertEquals ('csv ' , $ import ->get ('type ' ));
57- $ this ->assertEquals (storage_path ( ' app/ statamic/imports/posts/import.csv ' ), $ import ->get ('path ' ));
57+ $ this ->assertEquals (Storage:: path ( ' statamic/imports/posts/import.csv ' ), $ import ->get ('path ' ));
5858 $ this ->assertEquals (['create ' , 'update ' ], $ import ->get ('strategy ' ));
5959 }
6060
@@ -91,7 +91,7 @@ public function it_stores_a_collection_import_with_a_site()
9191 $ this ->assertNotNull ($ import );
9292 $ this ->assertEquals ('Posts ' , $ import ->name ());
9393 $ this ->assertEquals ('csv ' , $ import ->get ('type ' ));
94- $ this ->assertEquals (storage_path ( ' app/ statamic/imports/posts/import.csv ' ), $ import ->get ('path ' ));
94+ $ this ->assertEquals (Storage:: path ( ' statamic/imports/posts/import.csv ' ), $ import ->get ('path ' ));
9595 $ this ->assertEquals (['create ' , 'update ' ], $ import ->get ('strategy ' ));
9696
9797 $ this ->assertEquals ('en ' , $ import ->get ('destination.site ' ));
@@ -185,7 +185,7 @@ public function it_stores_a_taxonomy_import()
185185 $ this ->assertNotNull ($ import );
186186 $ this ->assertEquals ('Categories ' , $ import ->name ());
187187 $ this ->assertEquals ('csv ' , $ import ->get ('type ' ));
188- $ this ->assertEquals (storage_path ( ' app/ statamic/imports/categories/import.csv ' ), $ import ->get ('path ' ));
188+ $ this ->assertEquals (Storage:: path ( ' statamic/imports/categories/import.csv ' ), $ import ->get ('path ' ));
189189 $ this ->assertEquals (['create ' , 'update ' ], $ import ->get ('strategy ' ));
190190 }
191191
@@ -212,7 +212,7 @@ public function it_stores_a_user_import()
212212 $ this ->assertNotNull ($ import );
213213 $ this ->assertEquals ('Users ' , $ import ->name ());
214214 $ this ->assertEquals ('csv ' , $ import ->get ('type ' ));
215- $ this ->assertEquals (storage_path ( ' app/ statamic/imports/users/import.csv ' ), $ import ->get ('path ' ));
215+ $ this ->assertEquals (Storage:: path ( ' statamic/imports/users/import.csv ' ), $ import ->get ('path ' ));
216216 $ this ->assertEquals (['create ' , 'update ' ], $ import ->get ('strategy ' ));
217217 }
218218
0 commit comments