Skip to content
Snippets Groups Projects
Commit e2fc2085 authored by Carsten Karbach's avatar Carsten Karbach
Browse files

Merge branch 'composer_and_clients_update' into 'master'

Composer and clients update

See merge request !3
parents c8d32011 45ae2309
Branches
Tags v1.12
1 merge request!3Composer and clients update
Installation
- git clone https://gitlab.version.fz-juelich.de/karbach1/EventsAPI.git JSCEventsAPI
- cd JSCEventsAPI
- ./utils/synch.sh ./
Run Tests
- configure configs/myurl.cnf to the test installation
- cp rest/events/htaccess_fromall rest/events/.htaccess
- Warning: events API is now publicly available. Revert this step immediately after tests were run
Further Tests
- try to successfully run all scripts in the 'examples' folder
- therefore
- configure configs/dbaccess_jsc.cnf
\ No newline at end of file
......@@ -8,16 +8,20 @@
{
"type": "vcs",
"url": "https://gitlab.version.fz-juelich.de/jards/GCSJARDSAPIClient.git"
},
{
"type" : "vcs",
"url" : "https://gitlab.version.fz-juelich.de/jards/Silex.git"
}
],
"require": {
"silex/silex": ">=2.0",
"jards/eventsapiclient": "=3.2",
"jards/gcsjardsapiclient": "=2.1",
"silex/silex" : "^2.3",
"jards/eventsapiclient": "=3.3",
"jards/gcsjardsapiclient": "=2.2",
"phpmailer/phpmailer": ">=6.0"
},
"require-dev": {
"phpunit/phpunit": "^5.0"
"phpunit/phpunit": "^7.0"
},
"autoload": {
"psr-4": { "jards\\eventsapi\\": "lib/",
......
This diff is collapsed.
No preview for this file type
......@@ -55,7 +55,7 @@ class EventManagementTest extends TestCase{
$url = file_get_contents(__DIR__.'/../configs/myurl.cnf');
$success = $eventManagement->sendEvent('test event', 'This is only a test', $url);
$this->assertTrue($success, "Event sending was not successful");
$this->assertTrue($success, "Event sending was not successful $url");
$newEventIDs = $this->getExistingEventIDs();
$this->assertNotEquals(join('|', $oldEventIDs), join('|', $newEventIDs), "No event seems to be sent");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment