Skip to content

Commit

Permalink
fix final reservation view
Browse files Browse the repository at this point in the history
  • Loading branch information
alizul01 committed Jun 20, 2023
1 parent 3b98e0c commit 74737b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/RoomReservationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function showFinal()
$step1 = session()->get('step1');
$step2 = session()->get('step2');
$room = Room::where('id', $step2["room_id"])->first();
return view('user.partials.components.finish', compact('step', 'step1', 'step2', 'room'));
return view('reservation.finish', compact('step', 'step1', 'step2', 'room'));
}

public function finish(Request $request)
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/integration/user/dashboard.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Dashboard Test', () => {
beforeEach(() => {
cy.visit('/login');
cy.get('input[name="email"]').type('[email protected]');
cy.get('input[name="password"]').type('password');
cy.get('input[name="password"]').type('polarysuserpass2023!rtspolinema');
cy.get('.text-white').click();
})

Expand Down

0 comments on commit 74737b9

Please sign in to comment.