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:
@@ -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 ",
|
||||||
|
|||||||
Reference in New Issue
Block a user