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

@@ -12,7 +12,7 @@ func TestConnection(t *testing.T) {
return &CartGrain{
Id: id,
storageMessages: []Message{},
Items: []CartItem{},
Items: []*CartItem{},
TotalPrice: 0,
}, nil
})
@@ -29,8 +29,8 @@ func TestConnection(t *testing.T) {
if err != nil {
t.Errorf("Error negotiating: %v", err)
}
if len(allHosts) != 1 {
t.Errorf("Expected 1 host, got %d", len(allHosts))
if len(allHosts) != 0 {
t.Errorf("Expected 0 host, (host should be known) got %d", len(allHosts))
}
data, err := pool.Get(ToCartId("kalle"))