I just tried running the unit tests and got a bunch of errors and failures:
Is anyone else getting them, or is there something wrong with my local set up ?
Keith
PHPUnit 3.3.9 by Sebastian Bergmann.
..................F...........................F............. 60 / 612
.............F.............................................. 120 / 612
...........................................F................ 180 / 612
...........F.................................F............F. 240 / 612
.........................F.................................. 300 / 612
............................................................ 360 / 612
..................................................EEEEEEEE.. 420 / 612
............................................................ 480 / 612
............................................................ 540 / 612
............................................................ 600 / 612
............
Time: 1 second
There were 8 errors:
1) test_get_sparql_service(StoreGroupTest)
ErrorException: Invalid argument supplied for foreach()
/Users/keith/dev/moriarty2/storegroup.class.php:21
/Users/keith/dev/moriarty2/tests/storegroup.test.php:24
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
2) test_get_sparql_service_sets_credentials(StoreGroupTest)
ErrorException: Invalid argument supplied for foreach()
/Users/keith/dev/moriarty2/storegroup.class.php:21
/Users/keith/dev/moriarty2/tests/storegroup.test.php:30
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
3) test_get_contentbox(StoreGroupTest)
ErrorException: Invalid argument supplied for foreach()
/Users/keith/dev/moriarty2/storegroup.class.php:21
/Users/keith/dev/moriarty2/tests/storegroup.test.php:35
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
4) test_get_contentbox_service_sets_credentials(StoreGroupTest)
ErrorException: Invalid argument supplied for foreach()
/Users/keith/dev/moriarty2/storegroup.class.php:21
/Users/keith/dev/moriarty2/tests/storegroup.test.php:41
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
5) test_get_config(StoreGroupTest)
ErrorException: Invalid argument supplied for foreach()
/Users/keith/dev/moriarty2/storegroup.class.php:21
/Users/keith/dev/moriarty2/tests/storegroup.test.php:46
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
6) test_get_config_sets_credentials(StoreGroupTest)
ErrorException: Invalid argument supplied for foreach()
/Users/keith/dev/moriarty2/storegroup.class.php:21
/Users/keith/dev/moriarty2/tests/storegroup.test.php:52
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
7) test_add_store_by_uri(StoreGroupTest)
ErrorException: Invalid argument supplied for foreach()
/Users/keith/dev/moriarty2/storegroup.class.php:21
/Users/keith/dev/moriarty2/tests/storegroup.test.php:58
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
8) test_remove_all_stores(StoreGroupTest)
ErrorException: Invalid argument supplied for foreach()
/Users/keith/dev/moriarty2/storegroup.class.php:21
/Users/keith/dev/moriarty2/tests/storegroup.test.php:68
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
--
There were 8 failures:
1) test_describe_single_uri_performs_get_on_metabox(StoreTest)
Failed asserting that <boolean:false> is true.
/Users/keith/dev/moriarty2/tests/store.test.php:118
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
2) test_describe_single_uri_sets_accept(SparqlServiceTest)
Failed asserting that <boolean:false> is true.
/Users/keith/dev/moriarty2/tests/sparqlservicebase.test.php:45
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
3) test_query_uses_output_type_in_url(SparqlServiceTest)
Failed asserting that <boolean:false> is true.
/Users/keith/dev/moriarty2/tests/sparqlservicebase.test.php:745
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
4) test_describe_uses_output_param(PrivateGraphTest)
Failed asserting that <boolean:false> is true.
/Users/keith/dev/moriarty2/tests/graph.test.php:244
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
5) test_describe_uses_output_param(MetaboxTest)
Failed asserting that <boolean:false> is true.
/Users/keith/dev/moriarty2/tests/graph.test.php:244
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
6) test_describe_single_uri_with_graph_sets_accept(MultiSparqlServiceTest)
Failed asserting that <boolean:false> is true.
/Users/keith/dev/moriarty2/tests/multisparqlservice.test.php:49
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
7) test_describe_single_uri_sets_accept(MultiSparqlServiceTest)
Failed asserting that <boolean:false> is true.
/Users/keith/dev/moriarty2/tests/sparqlservicebase.test.php:45
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5
8) test_query_uses_output_type_in_url(MultiSparqlServiceTest)
Failed asserting that <boolean:false> is true.
/Users/keith/dev/moriarty2/tests/sparqlservicebase.test.php:745
/Users/keith/dev/moriarty2/tests/runtests.php:72
/Users/keith/dev/moriarty2/tests/runtests.php:116
/Users/keith/dev/run-moriarty-tests.php:5