From 0e1ebb46048ff602145fa1f23748a29e5dabacfd Mon Sep 17 00:00:00 2001 From: Tom Witkowski Date: Tue, 25 Jun 2024 15:41:09 +0200 Subject: [PATCH] fix tests --- tests/ComponentTest.php | 10 +++++----- tests/UnavatarTest.php | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/ComponentTest.php b/tests/ComponentTest.php index eab8f43..d583068 100644 --- a/tests/ComponentTest.php +++ b/tests/ComponentTest.php @@ -9,7 +9,7 @@ public function it_can_render(): void { $expected = <<<'HTML' Astrotomic avatar @@ -23,7 +23,7 @@ public function it_can_render_with_fallback(): void { $expected = <<<'HTML' astrotomic.info avatar @@ -37,7 +37,7 @@ public function it_can_render_clearbit(): void { $expected = <<<'HTML' astrotomic.info avatar @@ -51,7 +51,7 @@ public function it_can_render_deviantart(): void { $expected = <<<'HTML' astrotomic avatar @@ -65,7 +65,7 @@ public function it_can_render_dribbble(): void { $expected = <<<'HTML' astrotomic avatar diff --git a/tests/UnavatarTest.php b/tests/UnavatarTest.php index c94ee94..df88d3c 100644 --- a/tests/UnavatarTest.php +++ b/tests/UnavatarTest.php @@ -20,7 +20,7 @@ public function it_is_renderable(): void $unavatar = Unavatar::github('Gummibeer'); static::assertArrayHasKey(Renderable::class, class_implements($unavatar)); - static::assertSame('Gummibeer\'s github avatar', $unavatar->render()); + static::assertSame('Gummibeer's github avatar', $unavatar->render()); } /** @test */ @@ -29,7 +29,7 @@ public function it_is_htmlable(): void $unavatar = Unavatar::github('Gummibeer'); static::assertArrayHasKey(Htmlable::class, class_implements($unavatar)); - static::assertSame('Gummibeer\'s github avatar', $unavatar->toHtml()); + static::assertSame('Gummibeer's github avatar', $unavatar->toHtml()); } /** @test */ @@ -42,7 +42,7 @@ public function it_is_responsable_redirect(): void $redirect = $unavatar->toResponse(Request::createFromGlobals()); static::assertInstanceOf(RedirectResponse::class, $redirect); - static::assertSame('https://unavatar.now.sh/github/Gummibeer', $redirect->getTargetUrl()); + static::assertSame('https://unavatar.io/github/Gummibeer', $redirect->getTargetUrl()); } /** @test */