Skip to content

Commit a3559e1

Browse files
committed
remove test that should have been removed in #16490
1 parent 75bf7a9 commit a3559e1

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tests/routing/deprecated-enterprise-versions.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,13 @@ describe('deprecation banner', () => {
8585
expect($('.deprecation-banner b').text().endsWith('discontinued on .')).toBe(false)
8686
})
8787

88-
test('deprecation warning banner says "will be discontinued" when date is in future', async () => {
88+
test('deprecation warning banner includes the right text depending on the date', async () => {
8989
const $ = await getDOM(`/en/enterprise/${enterpriseServerReleases.oldestSupported}`)
9090
const expectedString = enterpriseServerReleases.isOldestReleaseDeprecated
9191
? 'was discontinued'
9292
: 'will be discontinued'
9393
expect($('.deprecation-banner b').text().includes(expectedString)).toBe(true)
9494
})
95-
96-
test('deprecation warning banner says "was discontinued" when date is in past', async () => {
97-
const $ = await getDOM(`/en/enterprise/${enterpriseServerReleases.deprecated[0]}`)
98-
expect($('.deprecation-banner b').text().includes('was discontinued')).toBe(true)
99-
})
10095
})
10196

10297
describe('does not render helpfulness prompt or contribution button', () => {

0 commit comments

Comments
 (0)