Skip to content

Commit 558d629

Browse files
committed
Remove isChannel prop from StudioDetailsPanel tests
1 parent 507e085 commit 558d629

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contentcuration/contentcuration/frontend/shared/views/__tests__/StudioDetailsPanel.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describe('StudioDetailsPanel', () => {
110110
it('renders channel header with name and description', () => {
111111
render(StudioDetailsPanel, {
112112
router,
113-
props: { details: fullChannel, isChannel: true, loading: false },
113+
props: { details: fullChannel, loading: false },
114114
mocks: createMocks(),
115115
});
116116

@@ -121,7 +121,7 @@ describe('StudioDetailsPanel', () => {
121121
it('shows placeholder when thumbnail is missing', () => {
122122
render(StudioDetailsPanel, {
123123
router,
124-
props: { details: minimalChannel, isChannel: true, loading: false },
124+
props: { details: minimalChannel, loading: false },
125125
mocks: createMocks(),
126126
});
127127

@@ -133,7 +133,7 @@ describe('StudioDetailsPanel', () => {
133133
beforeEach(() => {
134134
render(StudioDetailsPanel, {
135135
router,
136-
props: { details: fullChannel, isChannel: true, loading: false },
136+
props: { details: fullChannel, loading: false },
137137
mocks: createMocks(),
138138
});
139139
});
@@ -163,7 +163,7 @@ describe('StudioDetailsPanel', () => {
163163
beforeEach(() => {
164164
render(StudioDetailsPanel, {
165165
router,
166-
props: { details: minimalChannel, isChannel: true, loading: false },
166+
props: { details: minimalChannel, loading: false },
167167
mocks: createMocks(),
168168
});
169169
});

0 commit comments

Comments
 (0)