-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2024-10-22 - feedback - external reviewer - server-side
- Loading branch information
Showing
5 changed files
with
85 additions
and
34 deletions.
There are no files selected for viewing
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
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
22 changes: 22 additions & 0 deletions
22
.../java/com/objectcomputing/checkins/services/fixture/FeedbackExternalRecipientFixture.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.objectcomputing.checkins.services.fixture; | ||
|
||
import com.objectcomputing.checkins.services.feedback_external_recipient.FeedbackExternalRecipient; | ||
import com.objectcomputing.checkins.services.memberprofile.MemberProfile; | ||
|
||
import java.time.LocalDate; | ||
import java.util.Map; | ||
|
||
public interface FeedbackExternalRecipientFixture extends RepositoryFixture { | ||
|
||
default FeedbackExternalRecipient createADefaultFeedbackExternalRecipient() { | ||
String email = "[email protected]"; | ||
String firstName = "External-01"; | ||
String lastName = "Recipient"; | ||
String companyName = "Company Name"; | ||
|
||
return getFeedbackExternalRecipientRepository().save(new FeedbackExternalRecipient( | ||
email, firstName, lastName, companyName | ||
)); | ||
} | ||
|
||
} |
Oops, something went wrong.