From 733517fa7628764d328a82363a057c7e0aa74972 Mon Sep 17 00:00:00 2001 From: Javier Adriel Date: Wed, 4 Jan 2023 17:07:03 -0600 Subject: [PATCH] Fix replication test (#2547) Before the test was expecting an error while making the request but now the request is successful but it returns a 500 instead, this change will fix it --- replication/admin_api_int_replication_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/replication/admin_api_int_replication_test.go b/replication/admin_api_int_replication_test.go index 55e30ab46..299c05d2d 100644 --- a/replication/admin_api_int_replication_test.go +++ b/replication/admin_api_int_replication_test.go @@ -265,8 +265,8 @@ func TestEditSiteReplicationInfo(t *testing.T) { { name: "Edit with an invalid site endpoint", args: invalidUpdatedSiteInfo, - expStatusCode: -1, - expectedError: true, + expStatusCode: 500, + expectedError: false, }, { name: "Edit with an invalid empty site ",