From f5986e5c91a669568efddb3be9ee73428c7c0f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20=C5=9Awi=C4=85tek?= Date: Tue, 19 Mar 2024 12:44:34 +0100 Subject: [PATCH] fixup! test: add install script tests --- .github/workflows/test-install-script.yml | 3 ++- install-script/test/install_windows_test.go | 9 --------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-install-script.yml b/.github/workflows/test-install-script.yml index 778cdaa9..a920d550 100644 --- a/.github/workflows/test-install-script.yml +++ b/.github/workflows/test-install-script.yml @@ -36,4 +36,5 @@ jobs: - name: Run install script tests if: steps.changed-files.outputs.any_changed == 'true' - run: make -C install-script/test test + working-directory: install-script/test + run: make test diff --git a/install-script/test/install_windows_test.go b/install-script/test/install_windows_test.go index ce742d0d..161268aa 100644 --- a/install-script/test/install_windows_test.go +++ b/install-script/test/install_windows_test.go @@ -126,15 +126,6 @@ func TestInstallScript(t *testing.T) { checkTags, }, }, - { - name: "same installation token", - options: installOptions{ - installToken: installToken, - }, - preActions: []checkFunc{preActionMockUserConfig, preActionWriteTokenToUserConfig}, - preChecks: []checkFunc{checkBinaryNotCreated, checkConfigNotCreated, checkUserConfigCreated}, - postChecks: []checkFunc{checkBinaryCreated, checkBinaryIsRunning, checkConfigCreated, checkUserConfigCreated, checkTokenInConfig}, - }, } { t.Run(spec.name, func(t *testing.T) { runTest(t, &spec)