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
This commit is contained in:
Javier Adriel
2023-01-04 17:07:03 -06:00
committed by GitHub
parent d8b3d0715f
commit 733517fa76

View File

@@ -265,8 +265,8 @@ func TestEditSiteReplicationInfo(t *testing.T) {
{ {
name: "Edit with an invalid site endpoint", name: "Edit with an invalid site endpoint",
args: invalidUpdatedSiteInfo, args: invalidUpdatedSiteInfo,
expStatusCode: -1, expStatusCode: 500,
expectedError: true, expectedError: false,
}, },
{ {
name: "Edit with an invalid empty site ", name: "Edit with an invalid empty site ",