mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +01:00
rename PluginCenterEvent
This commit is contained in:
@@ -79,11 +79,11 @@ class PluginCenterLoaderTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void shouldThrowExceptionAndFirePluginCenterNotAvailableEvent() throws IOException {
|
||||
void shouldFirePluginCenterErrorEvent() throws IOException {
|
||||
when(client.get(PLUGIN_URL).request()).thenThrow(new IOException("failed to fetch"));
|
||||
|
||||
loader.load(PLUGIN_URL);
|
||||
|
||||
verify(eventBus).post(any(PluginCenterEvent.class));
|
||||
verify(eventBus).post(any(PluginCenterErrorEvent.class));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user