use fetchRealBookingItemFromURI wherever sensible and improve formatting
This commit is contained in:
parent
4c0b4a2c1e
commit
8dc388fa5a
@ -182,9 +182,7 @@ class HsBookingItemControllerAcceptanceTest extends ContextBasedTestWithCleanup
|
|||||||
.extract().header("Location"); // @formatter:on
|
.extract().header("Location"); // @formatter:on
|
||||||
|
|
||||||
// finally, the new bookingItem can be accessed under the generated UUID
|
// finally, the new bookingItem can be accessed under the generated UUID
|
||||||
final var newSubjectUuid = UUID.fromString(
|
assertThat(fetchRealBookingItemFromURI(location)).isNotNull();
|
||||||
location.substring(location.lastIndexOf('/') + 1));
|
|
||||||
assertThat(newSubjectUuid).isNotNull();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user