Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
LaravelFreelancerNL authored and github-actions[bot] committed Jun 19, 2022
1 parent e8bc585 commit 69379ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/IndexNow.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ protected function logFailedAttempt(string|array $url): void
'IndexNow: page submissions are only sent in production environments.',
['url' => $url]
);


}

/**
Expand Down
6 changes: 4 additions & 2 deletions tests/SubmitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@

expect($response)->toBeFalse();

Log::assertLogged(fn (LogEntry $log) =>
Log::assertLogged(
fn (LogEntry $log) =>
$log->level === 'info'
&& $log->message === 'IndexNow: page submissions are only sent in production environments.'
&& $log->context === ['url' => 'https://dejacht.nl']
Expand All @@ -151,7 +152,8 @@

expect($response)->toBeFalse();

Log::assertNotLogged(fn (LogEntry $log) =>
Log::assertNotLogged(
fn (LogEntry $log) =>
$log->level === 'info'
&& $log->message === 'IndexNow: page submissions are only sent in production environments.'
&& $log->context === ['url' => 'https://dejacht.nl']
Expand Down

0 comments on commit 69379ed

Please sign in to comment.