diff --git a/tests/Unit/Entity/BrandTest.php b/tests/Unit/Entity/BrandTest.php index 2ff442b..429e0fb 100644 --- a/tests/Unit/Entity/BrandTest.php +++ b/tests/Unit/Entity/BrandTest.php @@ -101,7 +101,7 @@ class BrandTest extends TestCase public function instanceReturnsLogoPublicUrlPrefixedWithConfiguredMySkillDisplayUrl() { $settings = $this->prophesize(Settings::class); - $settings->getMySkillDisplayUrl()->willReturn('https://example.com'); + $settings->getAPIUrl()->willReturn('https://example.com'); $subject = Brand::createFromJson('{"logoPublicUrl":"fileadmin/SkillSets/Images/TYPO3/TCCD_10LTS.jpg"}', $settings->reveal()); static::assertSame('https://example.com/fileadmin/SkillSets/Images/TYPO3/TCCD_10LTS.jpg', $subject->getLogoPublicUrl()); } diff --git a/tests/Unit/Entity/SkillSetTest.php b/tests/Unit/Entity/SkillSetTest.php index 9a82035..10abed1 100644 --- a/tests/Unit/Entity/SkillSetTest.php +++ b/tests/Unit/Entity/SkillSetTest.php @@ -112,7 +112,7 @@ class SkillSetTest extends TestCase public function instanceReturnsMediaPublicUrlPrefixedWithConfiguredMySkillDisplayUrl() { $settings = $this->prophesize(Settings::class); - $settings->getMySkillDisplayUrl()->willReturn('https://example.com'); + $settings->getAPIUrl()->willReturn('https://example.com'); $subject = SkillSet::createFromJson('{"mediaPublicUrl":"fileadmin/SkillSets/Images/TYPO3/TCCD_10LTS.jpg"}', $settings->reveal()); static::assertSame('https://example.com/fileadmin/SkillSets/Images/TYPO3/TCCD_10LTS.jpg', $subject->getMediaPublicUrl()); }