Skip to content

Commit

Permalink
AUS-4069, fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvpeters committed Nov 1, 2024
1 parent 5afc54d commit 7650d3e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ public void getStationChannels_channelResponseBadXML_ResultantModelHasSuccessSet
}

@Test
public void getIRISStations_stationResponseUnescapedAmbersandXML_ResultantModelHasSuccessSetToFalse() {
public void getIRISStations_stationResponseUnescapedAmbersandXML_ResultantModelHasSuccessSetToTrue() {
// Act
// e.g. unescaped & - <Name>Burke & Wills Roadhouse, Stokes, QLD</Name>
ModelAndView result = this.controller.getIRISStations("org/auscope/portal/iris/StationNameContainsUnescapedSpecialCharacter.xml", "");

// Assert
Assert.assertFalse((Boolean) result.getModel().get("success"));
Assert.assertTrue((Boolean) result.getModel().get("success"));
}

@Test
Expand Down

0 comments on commit 7650d3e

Please sign in to comment.