mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
simplify
This commit is contained in:
@@ -153,7 +153,7 @@ public abstract class GithubTest extends UsefulTestCase {
|
||||
}
|
||||
|
||||
protected void checkNotification(@NotNull NotificationType type, @Nullable String title, @Nullable String content) {
|
||||
Notification actualNotification = ((TestNotificator)ServiceManager.getService(myProject, Notificator.class)).getLastNotification();
|
||||
Notification actualNotification = myNotificator.getLastNotification();
|
||||
assertNotNull("No notification was shown", actualNotification);
|
||||
|
||||
if (title != null) {
|
||||
|
||||
Reference in New Issue
Block a user