forked from extern/egroupware
Fix infolog double PM change test
This commit is contained in:
parent
cb65460b5f
commit
6502687268
@ -173,7 +173,12 @@ class DoubleLinkPMTest extends \EGroupware\Api\EtemplateTest
|
|||||||
$this->makeProject('3');
|
$this->makeProject('3');
|
||||||
$new_project = $this->pm_id[2];
|
$new_project = $this->pm_id[2];
|
||||||
|
|
||||||
|
// Sleep for a bit to make the modified time different, or it will fail
|
||||||
|
sleep(1);
|
||||||
|
|
||||||
// Fake opening the edit dialog, important not to pass an array to accurately copy normal behaviour
|
// Fake opening the edit dialog, important not to pass an array to accurately copy normal behaviour
|
||||||
|
// New BO to make sure we get a clean load, no caching
|
||||||
|
$this->ui->bo = $this->bo = new \infolog_bo();
|
||||||
$this->ui->edit($this->info_id);
|
$this->ui->edit($this->info_id);
|
||||||
$content = self::$mocked_exec_result;
|
$content = self::$mocked_exec_result;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user