[Bps-public-commit] RT-Extension-MandatoryOnTransition branch, support-coreroles-and-customroles, updated. 0.17-7-g1d64e75
Craig Kaiser
craig at bestpractical.com
Wed Jan 16 14:43:03 EST 2019
The branch, support-coreroles-and-customroles has been updated
via 1d64e7543e6993a9ca3494c65fc1b4f48f6ec929 (commit)
from eec1d04e1df6fe48d85be4c502704c926cbe4730 (commit)
Summary of changes:
xt/required_fields.t | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 1d64e7543e6993a9ca3494c65fc1b4f48f6ec929
Author: Craig Kaiser <craig at bestpractical.com>
Date: Wed Jan 16 14:42:38 2019 -0500
Update tests to pass after adding in support for roles
diff --git a/xt/required_fields.t b/xt/required_fields.t
index 4f2135c..cd1fda7 100644
--- a/xt/required_fields.t
+++ b/xt/required_fields.t
@@ -14,8 +14,8 @@ diag "Test RequiredFields without a ticket";
);
is( $core->[0], 'TimeWorked', 'Got TimeWorked for required core');
- my $must_values;
- ($core, $cf, $must_values) = RT::Extension::MandatoryOnTransition->RequiredFields(
+ my ($must_values, $role, $role_group_values);
+ ($core, $cf, $role, $must_values, $role_group_values) = RT::Extension::MandatoryOnTransition->RequiredFields(
From => "''",
To => 'resolved',
Queue => 'General',
@@ -41,7 +41,7 @@ diag "Test RequiredFields with a ticket";
ok( $t->id, 'Created test ticket: ' . $t->id);
- my ($core, $cf, $must_values) = RT::Extension::MandatoryOnTransition->RequiredFields(
+ my ($core, $cf, $roles, $must_values, $role_group_values) = RT::Extension::MandatoryOnTransition->RequiredFields(
Ticket => $t,
To => 'resolved',
);
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list