Skip to content

Commit 95c92ff

Browse files
Merge pull request #7476 from Shopify/05-06-remove_deprecated_force_flag_from_e2e_tests
remove deprecated force flag from e2e tests
2 parents d91d681 + 38ded95 commit 95c92ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/e2e/tests/toml-config-invalid.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test.describe('TOML config invalid', () => {
2828
JSON.stringify({name: `invalid-${label}`, version: '1.0.0', private: true}),
2929
)
3030

31-
const result = await cli.exec(['app', 'deploy', '--path', appDir, '--force'], {
31+
const result = await cli.exec(['app', 'deploy', '--path', appDir, '--allow-updates', '--allow-deletes'], {
3232
timeout: CLI_TIMEOUT.medium,
3333
})
3434
const output = result.stdout + result.stderr

packages/e2e/tests/toml-config.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ test.describe('TOML config regression', () => {
2929
// Overwrite with fully populated TOML fixture (injects the real client_id)
3030
injectFixtureToml(appDir, FIXTURE_TOML, appName)
3131

32-
const result = await cli.exec(['app', 'deploy', '--path', appDir, '--force'], {
32+
const result = await cli.exec(['app', 'deploy', '--path', appDir, '--allow-updates', '--allow-deletes'], {
3333
timeout: CLI_TIMEOUT.long,
3434
})
3535
const output = result.stdout + result.stderr

0 commit comments

Comments
 (0)