(ctx context.Context, version *model.Version)
| 20 | } |
| 21 | |
| 22 | func (m *MockVersionService) CreateVersion(ctx context.Context, version *model.Version) (*model.Version, error) { |
| 23 | args := m.Called(ctx, version) |
| 24 | if args.Get(0) == nil { |
| 25 | return nil, args.Error(1) |
| 26 | } |
| 27 | return args.Get(0).(*model.Version), args.Error(1) |
| 28 | } |
| 29 | |
| 30 | func (m *MockVersionService) UpdateVersionCurrentBundleIdByVersionId(ctx context.Context, id primitive.ObjectID, currentBundleId primitive.ObjectID) (*model.Version, error) { |
| 31 | args := m.Called(ctx, id, currentBundleId) |
nothing calls this directly
no outgoing calls
no test coverage detected