From ac0e7cb012f28e432bfd33752d389411fbb45c7f Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Thu, 29 Apr 2021 17:30:29 +0300 Subject: [PATCH] Fixed redirect test --- tests/ProviderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ProviderTest.php b/tests/ProviderTest.php index a3ef541..eea1321 100644 --- a/tests/ProviderTest.php +++ b/tests/ProviderTest.php @@ -116,7 +116,7 @@ public function test_register_with_existent_email() $this->assertCount(0, $user->socials()->get()); $this->call('GET', route('callback', ['provider' => 'github'])) - ->assertRedirectedToRoute('register'); + ->assertRedirectedToRoute('home'); $this->assertCount(0, $user->socials()->get());