Skip to content

Commit dea9531

Browse files
committed
test: upgrade to the new version
Closes #22
1 parent c44e732 commit dea9531

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Josantonius\Json\Json;
1717
use 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
}

0 commit comments

Comments
 (0)