📄 Update year in file headers
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / notification / NewSoneHandlerTest.kt
index 0774992..e099974 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Sone - NewSoneHandlerTest.kt - Copyright Â© 2019 David â€˜Bombe’ Roden
+ * Sone - NewSoneHandlerTest.kt - Copyright Â© 2019–2020 David â€˜Bombe’ Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -56,7 +56,7 @@ class NewSoneHandlerTest {
        fun `handler does not add notification on new sone event if first-start notification is present`() {
                notificationManager.firstStart()
                eventBus.post(NewSoneFoundEvent(sone))
-               assertThat(notificationManager.notifications.single().id, equalTo("first-start-notification"))
+               assertThat(notificationManager.notifications, not(contains<Notification>(notification)))
        }
 
        @Test