From 85179d043c61640028dc71eb3a650f257115577f Mon Sep 17 00:00:00 2001 From: blair2004 Date: Fri, 3 May 2024 12:47:30 +0000 Subject: [PATCH] Remove unnecessary code and debug statements --- tests/Feature/AuthenticationTest.php | 3 --- tests/Feature/TestOtherGetRoutes.php | 1 - tests/Traits/WithOrderTest.php | 1 - 3 files changed, 5 deletions(-) diff --git a/tests/Feature/AuthenticationTest.php b/tests/Feature/AuthenticationTest.php index 9501ac467..d550158bc 100644 --- a/tests/Feature/AuthenticationTest.php +++ b/tests/Feature/AuthenticationTest.php @@ -258,9 +258,6 @@ public function testSubmitRegistrationForm() '/auth/sign-up', $signUpDetails ); - $response->dump(); - dump( $signUpDetails ); - $response->assertRedirect( ns()->route( 'ns.register' ) ); $response->assertSessionHasErrors( [ 'password_confirm' => 'The password confirm field must match password.', diff --git a/tests/Feature/TestOtherGetRoutes.php b/tests/Feature/TestOtherGetRoutes.php index d7d06054c..de5d71be5 100644 --- a/tests/Feature/TestOtherGetRoutes.php +++ b/tests/Feature/TestOtherGetRoutes.php @@ -82,7 +82,6 @@ public function testDashboardGetRoutes() $response->assertSee( 'dashboard-body' ); } } else { - $response->dump(); throw new Exception( 'Not supported status detected.' ); } } diff --git a/tests/Traits/WithOrderTest.php b/tests/Traits/WithOrderTest.php index b8c20079a..007c09647 100644 --- a/tests/Traits/WithOrderTest.php +++ b/tests/Traits/WithOrderTest.php @@ -772,7 +772,6 @@ private function registerOrderForCashRegister( Register $cashRegister, $data ) $response = $this->withSession( $this->app[ 'session' ]->all() ) ->json( 'POST', 'api/orders', $orderDetails ); - $response->dump(); $response->assertStatus( 200 ); return $response = json_decode( $response->getContent(), true );