Last active
February 26, 2021 12:54
-
-
Save spirosoik/7eb588c7ac28965b671f26de59f836a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (s *eventTestSuite) signup() *eventTestSuite { | |
s.crmClient.createLead = func(req pardot.LeadRequest) (int64, error) { | |
return s.crmID, nil | |
} | |
s.err = s.eventHandler.HandleEvent(context.Background(), testutil.EventToSQSEvent(leads.LeadCreateEvent{ | |
Owner: s.username, | |
URN: s.userURN, | |
CreatedAt: time.Now(), | |
})) | |
return s | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment