-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into fix/email-service-revamp
- Loading branch information
Showing
11 changed files
with
0 additions
and
20 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
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
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 |
---|---|---|
|
@@ -54,7 +54,6 @@ func TestAddToContactUs(t *testing.T) { | |
contactData := models.ContactUs{ | ||
Name: "John Doe", | ||
Email: "[email protected]", | ||
Subject: "</br><i>Inquiry about services3 with html", | ||
Message: "I would like to know more about your services3.", | ||
} | ||
payload, _ := json.Marshal(contactData) | ||
|
@@ -115,7 +114,6 @@ func TestAddToContactUs(t *testing.T) { | |
contactData := models.ContactUs{ | ||
Name: "John Doe", | ||
Email: "invalid_email", | ||
Subject: "test subject", | ||
Message: "message test", | ||
} | ||
payload, _ := json.Marshal(contactData) | ||
|
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 |
---|---|---|
|
@@ -40,7 +40,6 @@ func TestDeleteContactUs(t *testing.T) { | |
contact := models.ContactUs{ | ||
ID: utility.GenerateUUID(), | ||
Email: fmt.Sprintf("contact%[email protected]", currUUID), | ||
Subject: fmt.Sprintf("Test subject - %v ", currUUID), | ||
Message: fmt.Sprintf("Test message - %v ", currUUID), | ||
} | ||
|
||
|
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 |
---|---|---|
|
@@ -40,13 +40,11 @@ func TestGetAllContactUs(t *testing.T) { | |
contact1 := models.ContactUs{ | ||
ID: utility.GenerateUUID(), | ||
Email: fmt.Sprintf("contact%[email protected]", currUUID), | ||
Subject: fmt.Sprintf("First subject - %v ", currUUID), | ||
Message: fmt.Sprintf("First test message - %v ", currUUID), | ||
} | ||
contact2 := models.ContactUs{ | ||
ID: utility.GenerateUUID(), | ||
Email: fmt.Sprintf("contact2%[email protected]", currUUID), | ||
Subject: fmt.Sprintf("Second subject - %v ", currUUID), | ||
Message: fmt.Sprintf("Second test message - %v ", currUUID), | ||
} | ||
|
||
|
@@ -149,7 +147,6 @@ func TestGetContactUsById(t *testing.T) { | |
contact := models.ContactUs{ | ||
ID: utility.GenerateUUID(), | ||
Email: fmt.Sprintf("contact%[email protected]", currUUID), | ||
Subject: fmt.Sprintf("Test subject - %v ", currUUID), | ||
Message: fmt.Sprintf("Test message - %v ", currUUID), | ||
} | ||
|
||
|
@@ -251,7 +248,6 @@ func TestGetContactUsByEmail(t *testing.T) { | |
contact := models.ContactUs{ | ||
ID: utility.GenerateUUID(), | ||
Email: fmt.Sprintf("contact%[email protected]", currUUID), | ||
Subject: fmt.Sprintf("Test subject - %v ", currUUID), | ||
Message: fmt.Sprintf("Test message - %v ", currUUID), | ||
} | ||
|
||
|
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
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