regenerate mocks and fix broken tests
This commit is contained in:
parent
85fd11c421
commit
f3d192e899
3 changed files with 4 additions and 4 deletions
|
@ -45,7 +45,7 @@ var (
|
|||
}
|
||||
dummyCreateCard = &core.CreateCard{
|
||||
Schema: "https://myschema.com",
|
||||
Data: "{\"type\": \"AdaptiveCard\"}",
|
||||
Data: []byte("{\"type\": \"AdaptiveCard\"}"),
|
||||
}
|
||||
dummyCard = &core.Card{
|
||||
Id: 1,
|
||||
|
|
|
@ -2962,10 +2962,10 @@ func (mr *MockCardStoreMockRecorder) FindCardByBuild(arg0, arg1 interface{}) *go
|
|||
}
|
||||
|
||||
// FindCardData mocks base method.
|
||||
func (m *MockCardStore) FindCardData(arg0 context.Context, arg1 int64) (io.Reader, error) {
|
||||
func (m *MockCardStore) FindCardData(arg0 context.Context, arg1 int64) (io.ReadCloser, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "FindCardData", arg0, arg1)
|
||||
ret0, _ := ret[0].(io.Reader)
|
||||
ret0, _ := ret[0].(io.ReadCloser)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ func testCardCreate(store *cardStore) func(t *testing.T) {
|
|||
Stage: 2,
|
||||
Step: 3,
|
||||
Schema: "https://myschema.com",
|
||||
Data: "{\"type\": \"AdaptiveCard\"}",
|
||||
Data: []byte("{\"type\": \"AdaptiveCard\"}"),
|
||||
}
|
||||
err := store.CreateCard(noContext, item)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue