Skip to content
Snippets Groups Projects
Commit eca5c501 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5899 implement code review comments

parent 237d5e4e
No related branches found
No related tags found
No related merge requests found
...@@ -127,9 +127,9 @@ class FileITCase { ...@@ -127,9 +127,9 @@ class FileITCase {
void validateSecondAttachmentFileContent() { void validateSecondAttachmentFileContent() {
callServiceGetAttachments(); callServiceGetAttachments();
var attachment1 = responseCaptor.getValue().getFile(1); var attachment2 = responseCaptor.getValue().getFile(1);
assertThat(attachment1.getId()).isEqualTo(ID2.toString()); assertThat(attachment2.getId()).isEqualTo(ID2.toString());
} }
} }
...@@ -146,6 +146,7 @@ class FileITCase { ...@@ -146,6 +146,7 @@ class FileITCase {
callServiceGetAttachments(); callServiceGetAttachments();
verify(responseObserver).onNext(responseCaptor.capture()); verify(responseObserver).onNext(responseCaptor.capture());
assertThat(responseCaptor.getValue().getFileCount()).isEqualTo(2);
} }
} }
...@@ -162,6 +163,7 @@ class FileITCase { ...@@ -162,6 +163,7 @@ class FileITCase {
callServiceGetAttachments(); callServiceGetAttachments();
verify(responseObserver).onNext(responseCaptor.capture()); verify(responseObserver).onNext(responseCaptor.capture());
assertThat(responseCaptor.getValue().getFileCount()).isEqualTo(2);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment