From 2ad02b32e10bb8e287f5c7d6e02a43ad20c7e6ec Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 3 Jun 2010 17:09:18 -0700 Subject: [PATCH] Codify in 1 place how to skip autocommit workflows, and notification. --- t/lib/WebGUI/Test.pm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/t/lib/WebGUI/Test.pm b/t/lib/WebGUI/Test.pm index e8e5f354c..ee21fb5bb 100644 --- a/t/lib/WebGUI/Test.pm +++ b/t/lib/WebGUI/Test.pm @@ -496,6 +496,25 @@ sub webguiBirthday { #---------------------------------------------------------------------------- +=head2 getAssetSkipCoda ( ) + +Coded here for the sake of consistency, this returns everything that should be +appended to calls to addChild to autogenerate ids, revisionDates, and to skip +autoCommit workflows, and notifications. + +=cut + +sub getAssetSkipCoda { + return undef, + undef, + { + skipAutoCommitWorkflows => 1, + skipNotification => 1, + }; +} + +#---------------------------------------------------------------------------- + =head2 getSmokeLDAPProps ( ) Returns a hashref of properties for connecting to smoke's LDAP server.