Skip to content

Commit 733517f

Browse files
authored
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
1 parent d8b3d07 commit 733517f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

replication/admin_api_int_replication_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ func TestEditSiteReplicationInfo(t *testing.T) {
265265
{
266266
name: "Edit with an invalid site endpoint",
267267
args: invalidUpdatedSiteInfo,
268-
expStatusCode: -1,
269-
expectedError: true,
268+
expStatusCode: 500,
269+
expectedError: false,
270270
},
271271
{
272272
name: "Edit with an invalid empty site ",

0 commit comments

Comments
 (0)