diff --git a/packages/framework/tests/Unit/Support/MediaFileUnitTest.php b/packages/framework/tests/Unit/Support/MediaFileUnitTest.php index f07bf42cc61..5a0fa4af492 100644 --- a/packages/framework/tests/Unit/Support/MediaFileUnitTest.php +++ b/packages/framework/tests/Unit/Support/MediaFileUnitTest.php @@ -147,9 +147,9 @@ public function testConstructorWithVariousInputFormats() public function testConstructorSetsProperties() { $file = new MediaFile('foo.txt'); - $this->assertNotNull($file->length); - $this->assertNotNull($file->mimeType); - $this->assertNotNull($file->hash); + $this->assertNotNull($file->getContentLength()); + $this->assertNotNull($file->getMimeType()); + $this->assertNotNull($file->getHash()); } public function testNormalizePathWithAbsolutePath()