Fix files with Laravel Pint
This commit is contained in:
parent
c714457604
commit
e36f15d391
116 changed files with 409 additions and 378 deletions
|
@ -28,7 +28,7 @@ class DownloadWebMentionJobTest extends TestCase
|
|||
{
|
||||
$this->assertFileDoesNotExist(storage_path('HTML/https'));
|
||||
$source = 'https://example.org/reply/1';
|
||||
$html = <<<HTML
|
||||
$html = <<<'HTML'
|
||||
<div class="h-entry">
|
||||
<a class="u-like-of" href=""></a>
|
||||
</div>
|
||||
|
@ -56,12 +56,12 @@ class DownloadWebMentionJobTest extends TestCase
|
|||
{
|
||||
$this->assertFileDoesNotExist(storage_path('HTML/https'));
|
||||
$source = 'https://example.org/reply/1';
|
||||
$html = <<<HTML
|
||||
$html = <<<'HTML'
|
||||
<div class="h-entry">
|
||||
<a class="u-like-of" href=""></a>
|
||||
</div>
|
||||
HTML;
|
||||
$html2 = <<<HTML
|
||||
$html2 = <<<'HTML'
|
||||
<div class="h-entry">
|
||||
<a class="u-like-of" href=""></a>
|
||||
<a class="u-repost-of" href=""></a>
|
||||
|
@ -91,7 +91,7 @@ class DownloadWebMentionJobTest extends TestCase
|
|||
{
|
||||
$this->assertFileDoesNotExist(storage_path('HTML/https'));
|
||||
$source = 'https://example.org/reply-one/';
|
||||
$html = <<<HTML
|
||||
$html = <<<'HTML'
|
||||
<div class="h-entry">
|
||||
<a class="u-like-of" href=""></a>
|
||||
</div>
|
||||
|
|
|
@ -58,7 +58,7 @@ class ProcessWebMentionJobTest extends TestCase
|
|||
|
||||
$parser = new Parser();
|
||||
|
||||
$html = <<<HTML
|
||||
$html = <<<'HTML'
|
||||
<div class="h-entry">
|
||||
I liked <a class="u-like-of" href="/notes/1">a note</a>.
|
||||
</div>
|
||||
|
@ -125,7 +125,7 @@ class ProcessWebMentionJobTest extends TestCase
|
|||
{
|
||||
$parser = new Parser();
|
||||
|
||||
$html = <<<HTML
|
||||
$html = <<<'HTML'
|
||||
<div class="h-entry">
|
||||
<p>In reply to <a class="u-in-reply-to" href="https://other.com/notes/E">a note</a></p>
|
||||
<div class="e-content">Replying to someone else</div>
|
||||
|
@ -162,7 +162,7 @@ class ProcessWebMentionJobTest extends TestCase
|
|||
{
|
||||
$parser = new Parser();
|
||||
|
||||
$html = <<<HTML
|
||||
$html = <<<'HTML'
|
||||
<div class="h-entry">
|
||||
<p>In reply to <a class="u-like-of" href="https://other.com/notes/E">a note</a></p>
|
||||
<div class="e-content">I like someone else now</div>
|
||||
|
@ -199,7 +199,7 @@ class ProcessWebMentionJobTest extends TestCase
|
|||
{
|
||||
$parser = new Parser();
|
||||
|
||||
$html = <<<HTML
|
||||
$html = <<<'HTML'
|
||||
<div class="h-entry">
|
||||
<p>In reply to <a class="u-repost-of" href="https://other.com/notes/E">a note</a></p>
|
||||
<div class="e-content">Reposting someone else</div>
|
||||
|
|
|
@ -23,7 +23,7 @@ class SyndicateBookmarkToTwitterJobTest extends TestCase
|
|||
$faker = \Faker\Factory::create();
|
||||
$randomNumber = $faker->randomNumber();
|
||||
$json = json_encode([
|
||||
'url' => 'https://twitter.com/' . $randomNumber
|
||||
'url' => 'https://twitter.com/' . $randomNumber,
|
||||
]);
|
||||
$mock = new MockHandler([
|
||||
new Response(201, ['Content-Type' => 'application/json'], $json),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue