fix collection breaker (#537)
* fix collection breaker * optimized * optimized * optimized
This commit is contained in:
@@ -71,7 +71,7 @@ func TestNewCollection(t *testing.T) {
|
||||
Database: nil,
|
||||
Name: "foo",
|
||||
FullName: "bar",
|
||||
})
|
||||
}, breaker.GetBreaker("localhost"))
|
||||
assert.Equal(t, "bar", col.(*decoratedCollection).name)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user