Skip to content

Commit 5a0c755

Browse files
committed
[#2474] Fix unit test
1 parent 3df0222 commit 5a0c755

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/server/daemons/kea/configmodule_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5237,7 +5237,7 @@ func TestCommitSubnetUpdate(t *testing.T) {
52375237
case keactrl.RemoteSubnet4Set:
52385238
marshalledStr := string(marshalled)
52395239
// The daemon order is not deterministic.
5240-
marshalledStr = strings.ReplaceAll(marshalledStr, "tag-6,tag-5", "tag-5,tag-6")
5240+
marshalledStr = strings.ReplaceAll(marshalledStr, `"tag-6","tag-5"`, `"tag-5","tag-6"`)
52415241

52425242
require.JSONEq(t, `{
52435243
"command": "remote-subnet4-set",

0 commit comments

Comments
 (0)