From c0d61cafdd9ad7c1e498aa5ea0b4bb5505100a4b Mon Sep 17 00:00:00 2001 From: Clement Desmidt Date: Wed, 30 Nov 2022 14:07:02 +0100 Subject: [PATCH] :ambulance: Repair after upgrade --- app/Home.php | 4 ++-- tests/Feature/ExampleTest.php | 21 --------------------- tests/Unit/ExampleTest.php | 18 ------------------ 3 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 tests/Feature/ExampleTest.php delete mode 100644 tests/Unit/ExampleTest.php diff --git a/app/Home.php b/app/Home.php index c036b07..02fc784 100644 --- a/app/Home.php +++ b/app/Home.php @@ -82,13 +82,13 @@ class Home extends Model implements Feedable /** * @inheritDoc */ - public function toFeedItem() + public function toFeedItem(): FeedItem { return FeedItem::create() ->id($this->id) ->title($this->title) ->summary($this->excerpt()) - ->author('Shikiryu') + ->authorName('Shikiryu') ->updated($this->created_at) ->link(\route('public.view', ['slug' => $this->slug])) ; diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php deleted file mode 100644 index cdb5111..0000000 --- a/tests/Feature/ExampleTest.php +++ /dev/null @@ -1,21 +0,0 @@ -get('/'); - - $response->assertStatus(200); - } -} diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php deleted file mode 100644 index 358cfc8..0000000 --- a/tests/Unit/ExampleTest.php +++ /dev/null @@ -1,18 +0,0 @@ -assertTrue(true); - } -}