Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daVitekPL committed Jun 14, 2024
1 parent b9a03c8 commit 830e1df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Repositories/H5PRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 830e1df

Please sign in to comment.