"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/tine20/Tinebase/ActionQueue/Test.php" between
tine20-2020.08.3.tar.gz and tine20-2020.08.4.tar.gz

About: Tine 2.0 is a platform independent business software system which combines groupware and customer relationship management (CRM). Commercial support is available. Source code.

Test.php  (tine20-2020.08.3):Test.php  (tine20-2020.08.4)
skipping to change at line 74 skipping to change at line 74
$config = Tinebase_Config::getInstance()->{Tinebase_Config::ACTIONQUEUE} ; $config = Tinebase_Config::getInstance()->{Tinebase_Config::ACTIONQUEUE} ;
if (is_string($expectedOutput)) { if (is_string($expectedOutput)) {
static::assertEquals($expectedOutput, $output); static::assertEquals($expectedOutput, $output);
} elseif (is_callable($expectedOutput)) { } elseif (is_callable($expectedOutput)) {
static::assertTrue($expectedOutput($output, $config), 'output not as expected: ' . $output); static::assertTrue($expectedOutput($output, $config), 'output not as expected: ' . $output);
} }
static::assertEquals($expectedReturn, $result); static::assertEquals($expectedReturn, $result);
} }
/**
* @throws Tinebase_Exception_InvalidArgument
* @throws Zend_Db_Adapter_Exception
* @group nogitlabci
* gitlabci: output not as expected: QUEUE OK | size=0;lastJobId=1;lastDurat
ion=59;lastDurationUpdate=1;
* Failed asserting that false is true.
*/
public function testMonitoringCheckQueue() public function testMonitoringCheckQueue()
{ {
$tbApp = Tinebase_Application::getInstance(); $tbApp = Tinebase_Application::getInstance();
$config = Tinebase_Config::getInstance()->{Tinebase_Config::ACTIONQUEUE} ; $config = Tinebase_Config::getInstance()->{Tinebase_Config::ACTIONQUEUE} ;
$config->{Tinebase_Config::ACTIONQUEUE_ACTIVE} = false; $config->{Tinebase_Config::ACTIONQUEUE_ACTIVE} = false;
$this->checkMonitoringCheckQueueOutput("QUEUE INACTIVE\n", 0); $this->checkMonitoringCheckQueueOutput("QUEUE INACTIVE\n", 0);
$config->{Tinebase_Config::ACTIONQUEUE_ACTIVE} = true; $config->{Tinebase_Config::ACTIONQUEUE_ACTIVE} = true;
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)