I'm trying to install osf 3.4 on an EC2 Ubuntu instance (see spec below) and it fails the phpunit test (see log below, I edited the apiKey ).
Please let me know if you have any suggestions on how to fix it. Thanks!
There was 1 failure:
1) StructuredDynamics\osf\tests\ws\revision\update\RevisionUpdateTest::testInterfaceNotExisting
Debugging information: StructuredDynamics\osf\php\api\ws\revision\update\RevisionUpdateQuery::__set_state(array(
'endpoint' => 'revision/update/',
'method' => 'get',
'mime' => 'resultset',
'timeout' => 0,
'resultset' => NULL,
'supportedMimes' =>
array (
0 => 'text/xml',
1 => 'application/json',
2 => 'application/rdf+xml',
3 => 'application/rdf+n3',
4 => 'application/iron+json',
5 => 'application/iron+csv',
6 => 'resultset',
),
'httpStatus' => '400',
'httpStatusMessage' => 'Bad Request',
'httpStatusMessageDescription' => '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>400 Bad Request</title></head><body><h1>Bad Request</h1><p>Your browser sent a request that this server could not understand.<br /></p><hr><address>Apache/2.4.7 (Ubuntu) Server at ip-172-31-4-23.us-east-2.compute.internal Port 80</address></body></html>',
'appID' => 'administer',
'apiKey' => 'E30...',
'params' =>
array (
'interface' => 'unexisting interface',
'revuri' => 'http%3A%2F%2Ftest.com%2Funittests%2Frevisions%2F1509551115.2922',
'dataset' => 'http%3A%2F%2Ftest.com%2Funittests%2F',
'lifecycle' => 'experimental',
'version' => '3.0',
),
'error' =>
StructuredDynamics\osf\framework\QuerierError::__set_state(array(
'id' => 'HTTP-500',
'level' => 'fatal',
'name' => 'Fatal Error',
'description' => 'Unspecified Server Fatal Error',
'debugInfo' => '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at ip-172-31-4-23.us-east-2.compute.internal Port 80</address>
</body></html>
',
)),
))
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'HTTP-500'
+'WS-REVISION-UPDATE-300'
/usr/sare/open-semantic-framework/StructuredDynamics/osf/tests/ws/revision/update/RevisionUpdateTest.php:170
FAILURES!
Tests: 751, Assertions: 3861, Failures: 1.