diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-27 18:45:50 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-27 20:06:12 +0200 |
commit | 951675d62f631df7ccaca7c22de004d9576d3e91 (patch) | |
tree | 7fe41a57991009c4f5dbe2d5aa62f5667ae2255f /src/payload-processor/processor/mock_db.go | |
parent | misc: Create first Supabase migration (diff) | |
download | fs-tracer-backend-951675d62f631df7ccaca7c22de004d9576d3e91.tar.gz fs-tracer-backend-951675d62f631df7ccaca7c22de004d9576d3e91.tar.bz2 fs-tracer-backend-951675d62f631df7ccaca7c22de004d9576d3e91.zip |
payload-processor: insert to the file table
Diffstat (limited to 'src/payload-processor/processor/mock_db.go')
-rw-r--r-- | src/payload-processor/processor/mock_db.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/payload-processor/processor/mock_db.go b/src/payload-processor/processor/mock_db.go index 235657d..53e5491 100644 --- a/src/payload-processor/processor/mock_db.go +++ b/src/payload-processor/processor/mock_db.go @@ -1,9 +1,9 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: db.go +// Source: src/payload-processor/processor/db.go // // Generated by this command: // -// mockgen -source=db.go -package=processor -destination=mock_db.go +// mockgen -source src/payload-processor/processor/db.go -package processor -destination=src/payload-processor/processor/mock_db.go // // Package processor is a generated GoMock package. @@ -39,16 +39,16 @@ func (m *MockDB) EXPECT() *MockDBMockRecorder { return m.recorder } -// TestInsert mocks base method. -func (m *MockDB) TestInsert(ctx context.Context, message string) error { +// InsertFile mocks base method. +func (m *MockDB) InsertFile(ctx context.Context, file File) error { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "TestInsert", ctx, message) + ret := m.ctrl.Call(m, "InsertFile", ctx, file) ret0, _ := ret[0].(error) return ret0 } -// TestInsert indicates an expected call of TestInsert. -func (mr *MockDBMockRecorder) TestInsert(ctx, message any) *gomock.Call { +// InsertFile indicates an expected call of InsertFile. +func (mr *MockDBMockRecorder) InsertFile(ctx, file any) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TestInsert", reflect.TypeOf((*MockDB)(nil).TestInsert), ctx, message) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertFile", reflect.TypeOf((*MockDB)(nil).InsertFile), ctx, file) } |