diff --git a/composer.json b/composer.json index 60eb2ed..8408d82 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "A library that provides basic utilities for creating HTML documents.", "require": { "php": ">=7.0", - "webfiori/collections":"1.1.0" + "webfiori/collections":"1.1.x" }, "keywords": [ "library", diff --git a/tests/bootstrap.php b/tests/bootstrap.php index ccadb1d..39614db 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -39,12 +39,14 @@ } define('ROOT', $rootDir); //echo 'Root Directory: \''.$rootDir.'\'.'."\n"; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'Node.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'AbstractCollection.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'LinkedList.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'Stack.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'Queue.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'Comparable.php'; +$collLibPath = $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'webfiori'.$DS.'collections'.$DS; + +require_once $collLibPath.'Node.php'; +require_once $collLibPath.'AbstractCollection.php'; +require_once $collLibPath.'LinkedList.php'; +require_once $collLibPath.'Stack.php'; +require_once $collLibPath.'Queue.php'; +require_once $collLibPath.'Comparable.php'; //HTML classes $libPath = $rootDir.'webfiori'.$DS.'ui'.$DS;