update stuff
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m52s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m52s
This commit is contained in:
@@ -10,7 +10,7 @@ func TestQueue(t *testing.T) {
|
||||
return &CartGrain{
|
||||
Id: id,
|
||||
storageMessages: []Message{},
|
||||
Items: []CartItem{},
|
||||
Items: []*CartItem{},
|
||||
TotalPrice: 0,
|
||||
}, nil
|
||||
})
|
||||
@@ -22,11 +22,7 @@ func TestQueue(t *testing.T) {
|
||||
err = pool.AddRemote("localhost")
|
||||
if err != nil {
|
||||
t.Errorf("Error adding remote: %v", err)
|
||||
}
|
||||
r := pool.remotes[0]
|
||||
|
||||
if len(r.PacketQueue.Packets) != 1 {
|
||||
t.Errorf("Expected 1 packet, got %d", len(r.PacketQueue.Packets))
|
||||
return
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user