-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MODLD-639: Use latest Resource fetched from DB for emitting events #91
Conversation
763d944
to
a4bf8ba
Compare
a4bf8ba
to
e6a0545
Compare
4c23d4d
to
bde4dd8
Compare
Quality Gate passedIssues Measures |
assertTrue(resourceRepository.findById(work1.getId()).isEmpty()); | ||
|
||
// Assert that appropriate events are sent to mod-search | ||
Set<ResourceIndexEvent> searchEventList = new HashSet<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor
var
); | ||
|
||
// Assert that appropriate events are sent to inventory | ||
Set<InstanceIngressEvent> inventoryEventList = new HashSet<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor
var
private MarcReaderProcessor marcReader; | ||
|
||
@AfterEach | ||
void clenUp() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo? should be "cleanUp", no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Thank You. I will correct in the next PR.
@@ -48,6 +49,11 @@ class ResourceControllerUpdateWorkIT { | |||
@Autowired | |||
private MarcReaderProcessor marcReader; | |||
|
|||
@AfterEach | |||
void clenUp() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
No description provided.