update stuff
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m52s

This commit is contained in:
matst80
2024-11-10 23:05:24 +01:00
parent d01b6675b4
commit c5bc17c44d
6 changed files with 38 additions and 24 deletions

View File

@@ -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
}
}