File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 66)
77
88type mockConditionEventData struct {
9+ Number int
10+ Owner string
11+ Repo string
912 Labels []string
1013 FileNames []string
1114 FileExtensions []string
@@ -17,8 +20,8 @@ func (m *mockConditionEventData) GetRef() string {
1720 return m .Ref
1821}
1922
20- func (* mockConditionEventData ) GetNumber () int {
21- panic ( "implement me" )
23+ func (m * mockConditionEventData ) GetNumber () int {
24+ return m . Number
2225}
2326
2427func (m * mockConditionEventData ) GetTitle () string {
@@ -33,12 +36,12 @@ func (*mockConditionEventData) GetOrigin() string {
3336 panic ("implement me" )
3437}
3538
36- func (* mockConditionEventData ) GetOwner () string {
37- panic ( "implement me" )
39+ func (m * mockConditionEventData ) GetOwner () string {
40+ return m . Owner
3841}
3942
40- func (* mockConditionEventData ) GetRepo () string {
41- panic ( "implement me" )
43+ func (m * mockConditionEventData ) GetRepo () string {
44+ return m . Repo
4245}
4346
4447func (m * mockConditionEventData ) GetLabels () []string {
You can’t perform that action at this time.
0 commit comments