diff --git a/plugins/github/github-test/test/org/jetbrains/plugins/github/test/GithubTest.java b/plugins/github/github-test/test/org/jetbrains/plugins/github/test/GithubTest.java index d2c19d37dfbf..f1bb7311bd5c 100644 --- a/plugins/github/github-test/test/org/jetbrains/plugins/github/test/GithubTest.java +++ b/plugins/github/github-test/test/org/jetbrains/plugins/github/test/GithubTest.java @@ -156,16 +156,13 @@ public abstract class GithubTest extends UsefulTestCase { Notification actualNotification = ((TestNotificator)ServiceManager.getService(myProject, Notificator.class)).getLastNotification(); assertNotNull("No notification was shown", actualNotification); - System.out.println("Notification title: " + actualNotification.getTitle()); - System.out.println("Notification content: " + actualNotification.getContent()); - - assertEquals("Notification has wrong type", type, actualNotification.getType()); if (title != null) { - assertEquals("Notification has wrong title", title, actualNotification.getTitle()); + assertEquals("Notification has wrong title (content: " + actualNotification.getContent() + ")", title, actualNotification.getTitle()); } if (content != null) { assertEquals("Notification has wrong content", content, actualNotification.getContent()); } + assertEquals("Notification has wrong type", type, actualNotification.getType()); } protected void registerHttpAuthService() {