| 81 | } |
| 82 | |
| 83 | type fakeDraftCreator struct { |
| 84 | artifacts []publish.Artifact |
| 85 | result *publish.DraftResult |
| 86 | err error |
| 87 | } |
| 88 | |
| 89 | func (f *fakeDraftCreator) CreateDraft(artifact publish.Artifact) (*publish.DraftResult, error) { |
| 90 | f.artifacts = append(f.artifacts, artifact) |
nothing calls this directly
no outgoing calls
no test coverage detected