Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Commit

Permalink
Reduce code duplication in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jericho committed Sep 1, 2016
1 parent de7efad commit e08014a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CakeMail.RestClient.UnitTests/Templates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ public async Task SetTemplateCategoryVisibility_with_clientid()
public async Task CreateTemplate_with_minimal_parameters()
{
// Arrange
var content = "this is the content";
var content = "Sample content 1";
var labels = new Dictionary<string, string>
{
{ "en_US", "My Template" },
Expand Down Expand Up @@ -778,7 +778,7 @@ public async Task CreateTemplate_with_minimal_parameters()
public async Task CreateTemplate_with_no_labels()
{
// Arrange
var content = "this is the content";
var content = "Sample content 2";
var labels = new Dictionary<string, string>
{
{ "en_US", "My Template" },
Expand All @@ -804,7 +804,7 @@ public async Task CreateTemplate_with_no_labels()
public async Task CreateTemplate_with_clientid()
{
// Arrange
var content = "this is the content";
var content = "Sample content 3";
var labels = new Dictionary<string, string>
{
{ "en_US", "My Template" },
Expand Down Expand Up @@ -1145,7 +1145,7 @@ public async Task UpdateTemplate_with_labels()
public async Task UpdateTemplate_with_content()
{
// Arrange
var content = "this is the content";
var content = "Sample content 4";
var parameters = new[]
{
new Parameter { Type = ParameterType.GetOrPost, Name = "template_id", Value = TEMPLATE_ID },
Expand Down

0 comments on commit e08014a

Please sign in to comment.