Skip to content
Permalink
Browse files

Fix tests

  • Loading branch information
DominicWatson committed Nov 26, 2019
1 parent edc59ba commit 0c8b7d4bc697493b025afd32663e5a14a5d2c5aa
Showing with 2 additions and 2 deletions.
  1. +2 −2 support/tests/integration/api/email/EmailTemplateServiceTest.cfc
@@ -14,7 +14,7 @@ component extends="resources.HelperObjects.PresideBddTestCase" {
, text_body = CreateUUId()
};

mockTemplateDao.$( "insertData" ).$args( data=template, isDraft=false ).$results( id );
mockTemplateDao.$( "insertData" ).$args( data=template, isDraft=false, insertManyToManyRecords=true ).$results( id );

expect( service.saveTemplate( template=template ) ).toBe( id );
} );
@@ -109,7 +109,7 @@ component extends="resources.HelperObjects.PresideBddTestCase" {
, text_body = CreateUUId()
};

mockTemplateDao.$( "insertData" ).$args( data=template, isDraft=true ).$results( id );
mockTemplateDao.$( "insertData" ).$args( data=template, isDraft=true, insertManyToManyRecords=true ).$results( id );

expect( service.saveTemplate( template=template, isDraft=true ) ).toBe( id );
} );

0 comments on commit 0c8b7d4

Please sign in to comment.
You can’t perform that action at this time.