Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
syropian committed Mar 9, 2024
1 parent 905b101 commit 26f4589
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/Exceptions/InvalidAccessTokenException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace App\Exceptions;

class InvalidAccessTokenException extends \RuntimeException
Expand Down
4 changes: 3 additions & 1 deletion tests/Feature/Controllers/AuthController/LogoutTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

it('logs out an authenticated user', function() {
declare(strict_types=1);

it('logs out an authenticated user', function () {
$this->login()
->get('/logout')
->assertRedirect(route('auth.show'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

declare(strict_types=1);

use Illuminate\Support\Facades\Http;
use App\Exceptions\InvalidAccessTokenException;
use Illuminate\Support\Facades\Http;

it('sends an API reqest to GitHub to revoke the user\'s access token', function () {
Http::fake([
Expand Down

0 comments on commit 26f4589

Please sign in to comment.