fix: incorrectly named plugin slots (#1388)
This commit is contained in:
@@ -79,7 +79,7 @@ const NotificationTray = ({ intl }) => {
|
||||
<div>{verifiedMode
|
||||
? (
|
||||
<PluginSlot
|
||||
id="notification_tray_plugin"
|
||||
id="notification_tray_slot"
|
||||
pluginProps={{
|
||||
courseId,
|
||||
notificationCurrentState: upgradeNotificationCurrentState,
|
||||
|
||||
@@ -81,7 +81,7 @@ describe('NotificationTray', () => {
|
||||
.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('includes notification_tray_plugin slot', async () => {
|
||||
it('includes notification_tray_slot', async () => {
|
||||
await fetchAndRender(
|
||||
<SidebarContext.Provider value={{
|
||||
currentSidebar: ID,
|
||||
@@ -91,7 +91,7 @@ describe('NotificationTray', () => {
|
||||
<NotificationTray />
|
||||
</SidebarContext.Provider>,
|
||||
);
|
||||
expect(screen.getByTestId('notification_tray_plugin')).toBeInTheDocument();
|
||||
expect(screen.getByTestId('notification_tray_slot')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('renders upgrade card', async () => {
|
||||
|
||||
Reference in New Issue
Block a user