From 2a5459fb7fce07a544e0ce335e5b0173fadddcc3 Mon Sep 17 00:00:00 2001 From: Rohitesh Gupta <1429138+srkgupta@users.noreply.github.com> Date: Fri, 5 May 2023 18:16:53 +0530 Subject: [PATCH] Fixed failing instances test --- server/instances_test.go | 2 +- server/kv_mock_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/instances_test.go b/server/instances_test.go index 3c2b28da4..e52c1d194 100644 --- a/server/instances_test.go +++ b/server/instances_test.go @@ -110,7 +110,7 @@ func TestInstallInstance(t *testing.T) { testInstance0 := &testInstance{ InstanceCommon: InstanceCommon{ - InstanceID: mockInstance1URL, + InstanceID: mockInstance3URL, IsV2Legacy: true, Type: "testInstanceType", }, diff --git a/server/kv_mock_test.go b/server/kv_mock_test.go index d35d92097..37393fec8 100644 --- a/server/kv_mock_test.go +++ b/server/kv_mock_test.go @@ -22,6 +22,7 @@ var _ Instance = (*testInstance)(nil) const ( mockInstance1URL = "jiraurl1" mockInstance2URL = "jiraurl2" + mockInstance3URL = "jiraurl3" ) var testInstance1 = &testInstance{