From 90010a94ea0cc3104471884dc427680586f1d11c Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Mon, 16 Jan 2023 21:12:17 +0000 Subject: [PATCH] Fix e2e tests - As one command name was changed --- .../sample-e2e-boolean-arity1-default-true.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e2e/spring-shell-e2e-tests/test/sample-e2e-boolean-arity1-default-true.test.ts b/e2e/spring-shell-e2e-tests/test/sample-e2e-boolean-arity1-default-true.test.ts index fdf64e99..5367b109 100644 --- a/e2e/spring-shell-e2e-tests/test/sample-e2e-boolean-arity1-default-true.test.ts +++ b/e2e/spring-shell-e2e-tests/test/sample-e2e-boolean-arity1-default-true.test.ts @@ -12,7 +12,7 @@ import { testTimeout } from '../src/utils'; -describe('e2e commands boolean-arity1-default-true', () => { +describe('e2e commands arity-boolean-default-true', () => { let cli: Cli; let command: string; let options: string[] = []; @@ -21,7 +21,7 @@ describe('e2e commands boolean-arity1-default-true', () => { * testBooleanArity1DefaultTrue */ const annoDefaultWithoutOverwriteReturnsTrueDesc = 'default without overwrite returns true (anno)'; - const annoDefaultWithoutOverwriteCommand = ['e2e', 'anno', 'boolean-arity1-default-true']; + const annoDefaultWithoutOverwriteCommand = ['e2e', 'anno', 'arity-boolean-default-true']; const annoDefaultWithoutOverwriteReturnsTrue = async (cli: Cli) => { cli.run(); await waitForExpect(async () => { @@ -35,7 +35,7 @@ describe('e2e commands boolean-arity1-default-true', () => { * testBooleanArity1DefaultTrueRegistration */ const regDefaultWithoutOverwriteReturnsTrueDesc = 'default without overwrite returns true (reg)'; - const regDefaultWithoutOverwriteCommand = ['e2e', 'reg', 'boolean-arity1-default-true']; + const regDefaultWithoutOverwriteCommand = ['e2e', 'reg', 'arity-boolean-default-true']; const regOptionalWithoutOverwriteReturnsTrue = async (cli: Cli) => { cli.run(); await waitForExpect(async () => { @@ -49,7 +49,7 @@ describe('e2e commands boolean-arity1-default-true', () => { * testBooleanArity1DefaultTrue */ const annoDefaultWithOverwriteFalseReturnsFalseDesc = 'default with overwrite false returns false (anno)'; - const annoDefaultWithOverwriteFalseCommand = ['e2e', 'anno', 'boolean-arity1-default-true', '--overwrite', 'false']; + const annoDefaultWithOverwriteFalseCommand = ['e2e', 'anno', 'arity-boolean-default-true', '--overwrite', 'false']; const annoDefaultWithOverwriteFalseReturnsFalse = async (cli: Cli) => { cli.run(); await waitForExpect(async () => { @@ -63,7 +63,7 @@ describe('e2e commands boolean-arity1-default-true', () => { * testBooleanArity1DefaultTrueRegistration */ const regDefaultWithOverwriteFalseReturnsFalseDesc = 'default with overwrite false returns false (reg)'; - const regDefaultWithOverwriteFalseCommand = ['e2e', 'reg', 'boolean-arity1-default-true', '--overwrite', 'false']; + const regDefaultWithOverwriteFalseCommand = ['e2e', 'reg', 'arity-boolean-default-true', '--overwrite', 'false']; const regOptionalWithOverwriteFalseReturnsFalse = async (cli: Cli) => { cli.run(); await waitForExpect(async () => {