mirror of
https://github.com/benbusby/farside.git
synced 2025-04-19 10:28:42 +00:00
Update tests
This commit is contained in:
parent
6e64a93fd1
commit
56a4202827
1 changed files with 2 additions and 2 deletions
|
@ -44,12 +44,12 @@ func TestDatabase(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
firstInstance, err := GetInstance(service)
|
firstInstance, err := GetInstance(service, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Failed to fetch single instance: %v\n", err)
|
t.Fatalf("Failed to fetch single instance: %v\n", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
secondInstance, err := GetInstance(service)
|
secondInstance, err := GetInstance(service, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Failed to fetch single instance (second): %v\n", err)
|
t.Fatalf("Failed to fetch single instance (second): %v\n", err)
|
||||||
} else if firstInstance == secondInstance {
|
} else if firstInstance == secondInstance {
|
||||||
|
|
Loading…
Add table
Reference in a new issue