🚑 Repair after upgrade
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Clement Desmidt 2022-11-30 14:07:02 +01:00
parent d982682a54
commit c0d61cafdd
3 changed files with 2 additions and 41 deletions

View File

@ -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]))
;

View File

@ -1,21 +0,0 @@
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$response = $this->get('/');
$response->assertStatus(200);
}
}

View File

@ -1,18 +0,0 @@
<?php
namespace Tests\Unit;
use PHPUnit\Framework\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$this->assertTrue(true);
}
}