Skip to content
Snippets Groups Projects

Draft: Resolve "Database PND store is missing option to search by name"

1 file
+ 3
6
Compare changes
  • Side-by-side
  • Inline
@@ -32,8 +32,7 @@ func TestSbiService_Get(t *testing.T) {
sbiService, mockSbi := getSbiTestStores(t, sbiID)
sbi, err := sbiService.Get(store.Query{
ID: mockSbi.ID(),
Name: mockSbi.Name(),
ID: mockSbi.ID(),
})
if err != nil {
t.Error("could not get sbi")
@@ -50,8 +49,7 @@ func TestSbiService_Delete(t *testing.T) {
sbiService, mockSbi := getSbiTestStores(t, sbiID)
sbi, err := sbiService.Get(store.Query{
ID: mockSbi.ID(),
Name: mockSbi.Name(),
ID: mockSbi.ID(),
})
if err != nil {
t.Error("could not get sbi")
@@ -70,8 +68,7 @@ func TestSbiService_GetAll(t *testing.T) {
sbiService, mockSbi := getSbiTestStores(t, sbiID)
_, err := sbiService.Get(store.Query{
ID: mockSbi.ID(),
Name: mockSbi.Name(),
ID: mockSbi.ID(),
})
if err != nil {
t.Error("could not get sbi")
Loading