Rename the tests to pass phpcs checks
This commit is contained in:
parent
3946e9aac4
commit
d5bbed1eac
52 changed files with 1329 additions and 1062 deletions
|
@ -1,20 +1,24 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Unit;
|
||||
|
||||
use Tests\TestCase;
|
||||
use App\Models\Media;
|
||||
use Tests\TestCase;
|
||||
|
||||
class MediaTest extends TestCase
|
||||
{
|
||||
public function test_get_note_from_media()
|
||||
/** @test */
|
||||
public function getTheNoteThatMediaInstanceBelongsTo(): void
|
||||
{
|
||||
$media = Media::find(1);
|
||||
$note = $media->note;
|
||||
$this->assertInstanceOf('App\Models\Note', $note);
|
||||
}
|
||||
|
||||
public function test_media_absolute_url_returned_unmodified()
|
||||
/** @test */
|
||||
public function absoluteUrlsAreReturnedUnmodified(): void
|
||||
{
|
||||
$absoluteUrl = 'https://instagram-cdn.com/image/uuid';
|
||||
$media = new Media();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue