Fix broken test

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
Hector Sanjuan 2018-07-24 13:59:05 +02:00
parent 623120fd50
commit 6b9000fe7b

View File

@ -1014,6 +1014,7 @@ func TestClustersReplicationFactorMaxLower(t *testing.T) {
pin := api.PinCid(h)
pin.ReplicationFactorMin = 1
pin.ReplicationFactorMax = 2
err = clusters[0].Pin(pin)
if err != nil {
t.Fatal(err)
}