Skip to content

Commit

Permalink
fixes test to pass on unix machines as well
Browse files Browse the repository at this point in the history
  • Loading branch information
sdiakovskyi-gd committed Dec 18, 2020
1 parent 21702db commit d9a6556
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions Mailjet.Tests/Integration/TemplateIntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,6 @@ public async Task TestInitialize()
[TestMethod]
public async Task SendTransactionalEmailAsync_SendsEmail()
{

MailjetRequest request = new MailjetRequest
{
Resource = TemplateDetailcontent.Resource,
ResourceId = ResourceId.Numeric(2095787)
};

var resp = await _client.GetAsync(request);



long templateId = await CreateTemplate();

Assert.IsTrue(templateId > 0);
Expand Down Expand Up @@ -70,7 +59,7 @@ private async Task DeleteTemplate(long templateId)
private async Task FillTemplateContent(long templateId)
{
// arrange
var content = File.ReadAllText(@"Resources\MJMLTemplate.mjml");
var content = File.ReadAllText(Path.Combine("Resources", "MJMLTemplate.mjml"));

MailjetRequest request = new MailjetRequest
{
Expand Down

0 comments on commit d9a6556

Please sign in to comment.