[Rt-commit] rt branch, 5.0/lifecycle-ui-update-cache, repushed
Craig Kaiser
craig at bestpractical.com
Fri May 8 14:47:39 EDT 2020
The branch 5.0/lifecycle-ui-update-cache was deleted and repushed:
was 6ccc65fa2b8d3f1b2a5be948f0859d0ccc384568
now e7a05f10d17194371904beaca7b97e235f60b4b1
1: 6ccc65fa2b ! 1: e7a05f10d1 Add tests for lifecycle-ui caching when config is updated
@@ -44,13 +44,6 @@
+);
+ok( $m->content_contains('Lifecycle updated'), "Lifecycle updated from advanced page" );
+
-+RT->Config->LoadConfigFromDatabase();
-+
-+my $lifecycle_config = RT->Config->Get('Lifecycles')->{$queue->Lifecycle};
-+
-+ok ( grep $_ eq 'open', @{$lifecycle_config->{'inactive'}}, "Lifecycle configuration value has open as inactive status" );
-+ok ( grep $_ eq 'open', @{$RT::Lifecycle::LIFECYCLES_CACHE{ $queue->Lifecycle }->{'inactive'}}, "Lifecycle cache has open as inactive status" );
-+
+$m->get($baseurl);
+ok( !$m->find_link( text => '(No subject)' ), "Open ticket does not show up in active ticket search after lifecycle update" );
+
More information about the rt-commit
mailing list