Skip to content

Commit bece77f

Browse files
afk11barryo
authored andcommitted
Fix Patch Panel dusk test - last commit added ->withInput() to the redirect()->back() to preserve all proposed changes in the edit, this caused an assertion to fail. fix assertion.
1 parent 08c681f commit bece77f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/Browser/PatchPanelControllerTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function testAddRemoveAndEdit(): void
170170
->press("Save Changes")
171171
->waitForRoute('patch-panel@edit' , [ 'pp' => $pp->id ])
172172
->assertSee( 'To make a patch panel active, all ports must be available for use.' )
173-
->assertNotChecked("active")
173+
->assertChecked("active")
174174
;
175175

176176
// Go back and change the port state to Available.

0 commit comments

Comments
 (0)