Skip to content

Commit

Permalink
update tests to accomodate new logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jain-shreyans-db committed Nov 12, 2024
1 parent d3d2514 commit 2d94f01
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -448,11 +448,9 @@ public void updateReadOnlyTest() {
updatedFlow = lfSvc.updateReadOnly(122, true, "updateTestUser");
assertNull(updatedFlow);

try{
updatedFlow = lfSvc.updateReadOnly(logicalFlow.id().get(), false, "updateTestUser");
} catch (Exception e) {
assertNotNull(e);
}

updatedFlow = lfSvc.updateReadOnly(logicalFlow.id().get(), false, "updateTestUser");
assertFalse(updatedFlow.isReadOnly());
}

}

0 comments on commit 2d94f01

Please sign in to comment.