Bump projectmanager revision, add some more test debug

This commit is contained in:
nathangray 2020-03-10 13:24:43 -06:00
parent 287c7e56de
commit 4ededb8f20
2 changed files with 50 additions and 49 deletions

94
composer.lock generated
View File

@ -1,19 +1,19 @@
{ {
"_readme": [ "_readme": [
"This file locks the dependencies of your project to a known state", "This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "92e5456bf6c24dfb568926895cf688bd", "content-hash": "92e5456bf6c24dfb568926895cf688bd",
"packages": [ "packages": [
{ {
"name": "adldap2/adldap2", "name": "adldap2/adldap2",
"version": "v4.0.4", "version": "v4.0.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Adldap2/Adldap2.git", "url": "https://github.com/Adldap2/Adldap2.git",
"reference": "58702274158a785817c1e983343180051c44a6f4" "reference": "58702274158a785817c1e983343180051c44a6f4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Adldap2/Adldap2/zipball/58702274158a785817c1e983343180051c44a6f4", "url": "https://api.github.com/repos/Adldap2/Adldap2/zipball/58702274158a785817c1e983343180051c44a6f4",
@ -768,30 +768,30 @@
"homepage": "https://www.egroupware.org/", "homepage": "https://www.egroupware.org/",
"time": "2020-02-09T09:53:28+00:00" "time": "2020-02-09T09:53:28+00:00"
}, },
{ {
"name": "egroupware/collabora", "name": "egroupware/collabora",
"version": "dev-master", "version": "dev-master",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/EGroupware/collabora.git", "url": "https://github.com/EGroupware/collabora.git",
"reference": "fe9a216bb21004f6ed771c2deb16b9b8928788b7" "reference": "fe9a216bb21004f6ed771c2deb16b9b8928788b7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/EGroupware/collabora/zipball/fe9a216bb21004f6ed771c2deb16b9b8928788b7", "url": "https://api.github.com/repos/EGroupware/collabora/zipball/fe9a216bb21004f6ed771c2deb16b9b8928788b7",
"reference": "fe9a216bb21004f6ed771c2deb16b9b8928788b7", "reference": "fe9a216bb21004f6ed771c2deb16b9b8928788b7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"egroupware/egroupware": "self.version" "egroupware/egroupware": "self.version"
}, },
"type": "egroupware-app", "type": "egroupware-app",
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"GPL-2.0-or-later" "GPL-2.0-or-later"
], ],
"authors": [ "authors": [
{ {
"name": "Ralf Becker", "name": "Ralf Becker",
"email": "rb@egroupware.org" "email": "rb@egroupware.org"
}, },
@ -806,7 +806,7 @@
], ],
"description": "EGroupware integration for Collabora Online Office", "description": "EGroupware integration for Collabora Online Office",
"homepage": "https://www.egroupware.org/", "homepage": "https://www.egroupware.org/",
"time": "2020-03-09T21:21:56+00:00" "time": "2020-03-09T21:21:56+00:00"
}, },
{ {
"name": "egroupware/icalendar", "name": "egroupware/icalendar",
@ -993,14 +993,14 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/EGroupware/projectmanager.git", "url": "https://github.com/EGroupware/projectmanager.git",
"reference": "8bcd7c8ea0094969481e10ecc943ff1b24760943" "reference": "3a4e5faac28e441b9a475149f3ec240b9acc5f91"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/EGroupware/projectmanager/zipball/8bcd7c8ea0094969481e10ecc943ff1b24760943", "url": "https://api.github.com/repos/EGroupware/projectmanager/zipball/3a4e5faac28e441b9a475149f3ec240b9acc5f91",
"reference": "8bcd7c8ea0094969481e10ecc943ff1b24760943", "reference": "3a4e5faac28e441b9a475149f3ec240b9acc5f91",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"fxp/composer-asset-plugin": "^1.2.2", "fxp/composer-asset-plugin": "^1.2.2",
"npm-asset/dhtmlx-gantt": "~6.2" "npm-asset/dhtmlx-gantt": "~6.2"
@ -1026,7 +1026,7 @@
], ],
"description": "EGroupware project-management application", "description": "EGroupware project-management application",
"homepage": "https://www.egroupware.org/", "homepage": "https://www.egroupware.org/",
"time": "2020-03-04T17:41:07+00:00" "time": "2020-03-10T17:49:01+00:00"
}, },
{ {
"name": "egroupware/registration", "name": "egroupware/registration",

View File

@ -126,10 +126,11 @@ class ProjectTemplateTest extends \EGroupware\Projectmanager\TemplateTest
$indexed_elements = array(); $indexed_elements = array();
$unmatched_elements = $this->elements; $unmatched_elements = $this->elements;
echo __METHOD__; echo "\n" . __METHOD__ . "\n";
echo "Checking on (copied) PM ID $clone_id"; echo "Checking on (copied) PM ID $clone_id\n";
$elements = $element_bo->search(array('pm_id' => $clone_id), false, 'pe_id ASC'); $elements = $element_bo->search(array('pm_id' => $clone_id), false, 'pe_id ASC');
// Expect 1 sub-project, 2 infologs // Expect 1 sub-project, 2 infologs
$this->assertIsArray($elements, "Did not find any project elements in copy");
$this->assertCount(3, $elements, "Incorrect number of project elements"); $this->assertCount(3, $elements, "Incorrect number of project elements");
foreach ($elements as $element) foreach ($elements as $element)