File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616use Josantonius \Json \Json ;
1717use PHPUnit \Framework \TestCase ;
1818
19- class GetFilepathMethodTest extends TestCase
19+ class FilepathMethodTest extends TestCase
2020{
2121 private string $ filepath = __DIR__ . '/filename.json ' ;
2222
@@ -38,13 +38,13 @@ public function test_should_get_the_path_to_a_local_file(): void
3838 {
3939 $ jsonFile = new Json ($ this ->filepath );
4040
41- $ this ->assertEquals ($ this ->filepath , $ jsonFile ->getFilepath ());
41+ $ this ->assertEquals ($ this ->filepath , $ jsonFile ->filepath ());
4242 }
4343
4444 public function test_should_get_the_path_to_a_remote_file (): void
4545 {
4646 $ jsonFile = new Json ($ this ->url );
4747
48- $ this ->assertEquals ($ this ->url , $ jsonFile ->getFilepath ());
48+ $ this ->assertEquals ($ this ->url , $ jsonFile ->filepath ());
4949 }
5050}
You can’t perform that action at this time.
0 commit comments