From 355674cf229fd4a3754bf23a1fcd5fd8e29115e4 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Thu, 14 Apr 2022 17:16:10 +0300 Subject: [PATCH] fix(datastore): fix test for EdgePortainerUrl [EE-2967] (#6765) --- api/datastore/backup_test.go | 2 +- api/datastore/test_data/output_35.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/datastore/backup_test.go b/api/datastore/backup_test.go index 99acc5c0a..e4c4a8338 100644 --- a/api/datastore/backup_test.go +++ b/api/datastore/backup_test.go @@ -86,7 +86,7 @@ func TestRemoveWithOptions(t *testing.T) { err = store.removeWithOptions(options) if err != nil { - t.Errorf("RemoveWithOptions should successfully remove file; err=%w", err) + t.Errorf("RemoveWithOptions should successfully remove file; err=%v", err) } if isFileExist(f.Name()) { diff --git a/api/datastore/test_data/output_35.json b/api/datastore/test_data/output_35.json index feb61b765..669310cdf 100644 --- a/api/datastore/test_data/output_35.json +++ b/api/datastore/test_data/output_35.json @@ -591,6 +591,7 @@ "DisplayDonationHeader": false, "DisplayExternalContributors": false, "EdgeAgentCheckinInterval": 5, + "EdgePortainerUrl": "", "EnableEdgeComputeFeatures": false, "EnableHostManagementFeatures": false, "EnableTelemetry": true,