Skip to content

Commit

Permalink
fix: fix getRole error
Browse files Browse the repository at this point in the history
  • Loading branch information
derecknowayback committed Oct 7, 2023
1 parent da422a9 commit 03cfc22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lorry/binding/mongodb/mongodb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func TestGetRole(t *testing.T) {
primitive.E{Key: "_id", Value: 0},
primitive.E{Key: "state", Value: 1},
primitive.E{Key: "stateStr", Value: "PRIMARY"},
primitive.E{Key: "self", Value: true},
},
}},
})
Expand Down

0 comments on commit 03cfc22

Please sign in to comment.