Skip to content
Snippets Groups Projects
Commit 58f0aaf4 authored by Fabian Seidl's avatar Fabian Seidl
Browse files

removed SBI name from mock queries as it can't be used anyway

parent bbedf774
1 merge request!338Draft: Resolve "Database PND store is missing option to search by name"
Pipeline #105676 passed
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment