Skip to content

Commit

Permalink
cleanup test loading and update jackalope and tests version
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Aug 15, 2015
1 parent 3d3ba7c commit dd70c38
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
"ext-curl":"*",
"phpcr/phpcr": "~2.1.2",
"phpcr/phpcr-utils": "~1.2,>=1.2.6",
"jackalope/jackalope": "~1.2.1"
"jackalope/jackalope": "~1.2.2"
},
"provide": {
"jackalope/jackalope-transport": "1.1.0"
},
"require-dev": {
"psr/log": "~1.0",
"phpcr/phpcr-api-tests": "2.1.5",
"phpcr/phpcr-api-tests": "2.1.6",
"symfony/console": "~2.0"
},
"autoload": {
"psr-0": { "Jackalope\\": "src/" }
},
"autoload-dev": {
"psr-0": { "Jackalope\\": "tests/" }
},
"bin": ["bin/jackalope", "bin/jackrabbit.sh"],
"extra": {
"branch-alias": {
Expand Down
8 changes: 4 additions & 4 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/** make sure we get ALL infos from php */
/** Make sure we get ALL infos from php */
error_reporting(E_ALL | E_STRICT);

if (!$loader = @include __DIR__.'/../vendor/autoload.php') {
Expand All @@ -9,14 +9,14 @@
'php composer.phar install'.PHP_EOL);
}

$loader->add('Jackalope\\Test', __DIR__);
/** Make Jackalope base tests autoloadable */
$loader->add('Jackalope', __DIR__.'/../vendor/jackalope/jackalope/tests');

### Load the implementation loader class ###
/** Load the implementation loader class */
require_once __DIR__ . '/ImplementationLoader.php';
require_once __DIR__ . '/JackrabbitFixtureLoader.php';

/*
/**
* constants for the repository descriptor test for JCR 1.0/JSR-170 and JSR-283 specs
*/

Expand Down

0 comments on commit dd70c38

Please sign in to comment.