@@ -9,28 +9,28 @@ class NotificationTest extends TestCase {
99
1010 public function testOneNotificationUpdate (): void {
1111 $ translatorTests = new NotificationTranslatorTests ();
12- $ notification = new UpdateNotificationPlugin ($ this ->oneUpdatePlugins , $ translatorTests );
12+ $ notification = new PluginUpdateNotification ($ this ->oneUpdatePlugins , $ translatorTests );
1313 $ expectedText = "Os seguintes plugins possuem atualizações disponíveis: ORCID Profile " ;
1414 $ this ->assertEquals ($ expectedText , $ notification ->getNotificationText ('pt_BR ' ));
1515 }
1616
1717 public function testManyNotificationUpdates (): void {
1818 $ translatorTests = new NotificationTranslatorTests ();
19- $ notification = new UpdateNotificationPlugin ($ this ->manyUpdatePlugins , $ translatorTests );
19+ $ notification = new PluginUpdateNotification ($ this ->manyUpdatePlugins , $ translatorTests );
2020 $ expectedText = "Os seguintes plugins possuem atualizações disponíveis: ORCID Profile, Backup, Default Translation " ;
2121 $ this ->assertEquals ($ expectedText , $ notification ->getNotificationText ('pt_BR ' ));
2222 }
2323
2424 public function testOneNotificationUpdateTranslated (): void {
2525 $ translatorTests = new NotificationTranslatorTests ();
26- $ notification = new UpdateNotificationPlugin ($ this ->oneUpdatePlugins , $ translatorTests );
26+ $ notification = new PluginUpdateNotification ($ this ->oneUpdatePlugins , $ translatorTests );
2727 $ expectedText = "The following plugins have updates available: ORCID Profile " ;
2828 $ this ->assertEquals ($ expectedText , $ notification ->getNotificationText ('en_US ' ));
2929 }
3030
3131 public function testManyUpdateNotificationTranslated (): void {
3232 $ translatorTests = new NotificationTranslatorTests ();
33- $ notification = new UpdateNotificationPlugin ($ this ->manyUpdatePlugins , $ translatorTests );
33+ $ notification = new PluginUpdateNotification ($ this ->manyUpdatePlugins , $ translatorTests );
3434 $ expectedText = "The following plugins have updates available: ORCID Profile, Backup, Default Translation " ;
3535 $ this ->assertEquals ($ expectedText , $ notification ->getNotificationText ('en_US ' ));
3636 }
0 commit comments