Skip to content

Commit 387bf78

Browse files
committed
test(@angular/cli): remove unscoped authentication test cases from registry tests
1 parent da23ee7 commit 387bf78

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

tests/legacy-cli/e2e/tests/update/update-secure-registry.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,13 @@ export default async function () {
1616
}
1717

1818
// Valid authentication token
19-
await createNpmConfigForAuthentication(false);
20-
const { stdout: stdout1 } = await ng('update', ...extraArgs);
21-
if (!stdout1.includes(worksMessage)) {
22-
throw new Error(`Expected stdout to contain "${worksMessage}"`);
23-
}
24-
2519
await createNpmConfigForAuthentication(true);
2620
const { stdout: stdout2 } = await ng('update', ...extraArgs);
2721
if (!stdout2.includes(worksMessage)) {
2822
throw new Error(`Expected stdout to contain "${worksMessage}"`);
2923
}
3024

3125
// Invalid authentication token
32-
await createNpmConfigForAuthentication(false, true);
33-
await expectToFail(() => ng('update', ...extraArgs));
34-
3526
await createNpmConfigForAuthentication(true, true);
3627
await expectToFail(() => ng('update', ...extraArgs));
3728

0 commit comments

Comments
 (0)