diff --git a/tests/Repositories/H5PRepositoryTest.php b/tests/Repositories/H5PRepositoryTest.php index eac0307..efb90c1 100644 --- a/tests/Repositories/H5PRepositoryTest.php +++ b/tests/Repositories/H5PRepositoryTest.php @@ -67,7 +67,7 @@ public function testFetchExternalDataShouldReturnFalseWhenStatusIs400(): void $url = H5PHubEndpoints::createURL('example/url'); $result = $this->repository->fetchExternalData($url, null, false, null, false); - $this->assertFalse($result); + $this->assertNull($result); } public function testFetchExternalDataShouldReturnFalseWhenStatusIsDifferentFrom200(): void @@ -77,7 +77,7 @@ public function testFetchExternalDataShouldReturnFalseWhenStatusIsDifferentFrom2 $url = H5PHubEndpoints::createURL('example/url'); $result = $this->repository->fetchExternalData($url, null, false, null, false); - $this->assertFalse($result); + $this->assertNull($result); } public function testLoadAddonsShouldReturnHigherVersionLibrary(): void