Skip to content

Commit 7697334

Browse files
committed
Fixed oversight of updated tests
1 parent 6a00513 commit 7697334

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ds3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/UsersAndGroups_Test.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ public void getGroupGroupMembersWithPageStartMarkerUUID() throws IOException, Si
555555
try {
556556
client.getGroupMembersSpectraS3(new GetGroupMembersSpectraS3Request()
557557
.withPageStartMarker(UUID.randomUUID()));
558+
fail("The above should not be found and throw exception.");
558559

559560
} catch (final FailedRequestException e) {
560561
assertThat(e.getStatusCode(), is(404));
@@ -568,6 +569,7 @@ public void getGroupGroupMembersWithPageStartMarkerString() throws IOException,
568569
try {
569570
client.getGroupMembersSpectraS3(new GetGroupMembersSpectraS3Request()
570571
.withPageStartMarker(UUID.randomUUID().toString()));
572+
fail("The above should not be found and throw exception.");
571573

572574
} catch (final FailedRequestException e) {
573575
assertThat(e.getStatusCode(), is(404));
@@ -866,6 +868,7 @@ public void getBucketAclsWithPageStartMarkerUUID() throws IOException, Signature
866868
try {
867869
client.getBucketAclsSpectraS3(new GetBucketAclsSpectraS3Request()
868870
.withPageStartMarker(UUID.randomUUID()));
871+
fail("The above should not be found and throw exception.");
869872

870873
} catch (final FailedRequestException e) {
871874
assertThat(e.getStatusCode(), is(404));
@@ -879,6 +882,7 @@ public void getBucketAclsWithPageStartMarkerString() throws IOException, Signatu
879882
try {
880883
client.getBucketAclsSpectraS3(new GetBucketAclsSpectraS3Request()
881884
.withPageStartMarker(UUID.randomUUID().toString()));
885+
fail("The above should not be found and throw exception.");
882886
} catch (final FailedRequestException e) {
883887
assertThat(e.getStatusCode(), is(404));
884888
}
@@ -1204,6 +1208,7 @@ public void getDataPolicyAclsWithPageStartMarkerString() throws IOException, Sig
12041208
try {
12051209
client.getDataPolicyAclsSpectraS3(new GetDataPolicyAclsSpectraS3Request()
12061210
.withPageStartMarker(UUID.randomUUID().toString()));
1211+
fail("The above should not be found and throw exception.");
12071212
} catch (final FailedRequestException e) {
12081213
assertThat(e.getStatusCode(), is(404));
12091214
}
@@ -1216,6 +1221,7 @@ public void getDataPolicyAclsWithPageStartMarkerUUID() throws IOException, Signa
12161221
try {
12171222
client.getDataPolicyAclsSpectraS3(new GetDataPolicyAclsSpectraS3Request()
12181223
.withPageStartMarker(UUID.randomUUID()));
1224+
fail("The above should not be found and throw exception.");
12191225
} catch (final FailedRequestException e) {
12201226
assertThat(e.getStatusCode(), is(404));
12211227
}

0 commit comments

Comments
 (0)