Skip to content

Commit cd2fa59

Browse files
committed
Bug fixed concerning tests output directory.
1 parent 3a564c3 commit cd2fa59

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

bin/testing-entrypoint.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ fi
3030
# Install dependencies
3131
COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-source --no-interaction
3232

33+
# Set output permission
34+
echo "Setting Codeception output directory permissions"
35+
chmod 777 ${TESTS_OUTPUT}
36+
3337
if [[ -z "$SUITES" ]]; then
3438
echo 'A target testing suite(s) must be selected.'
3539
echo 'Using the environment variable "$SUITES" set on the "testing" service.'
@@ -49,7 +53,7 @@ for suite in "${target_suites[@]}"; do
4953
fi
5054
done
5155

52-
if [ -f "${TESTS_OUTPUT}/coverage.xml" ]; then
53-
echo 'Setting Codeception output directory permissions'.
56+
if [ -f "${TESTS_OUTPUT}" ]; then
57+
echo 'Setting "coverage.xml" permissions'.
5458
chmod 777 -R ${TESTS_OUTPUT}/coverage.xml
5559
fi

vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
require_once __DIR__ . '/composer/autoload_real.php';
66

7-
return ComposerAutoloaderInit20fc77f628847ce91a192c4ffb1534d1::getLoader();
7+
return ComposerAutoloaderInit7a6810d883e7e56f4120cefc43c77766::getLoader();

vendor/composer/autoload_real.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit20fc77f628847ce91a192c4ffb1534d1
5+
class ComposerAutoloaderInit7a6810d883e7e56f4120cefc43c77766
66
{
77
private static $loader;
88

@@ -19,15 +19,15 @@ public static function getLoader()
1919
return self::$loader;
2020
}
2121

22-
spl_autoload_register(array('ComposerAutoloaderInit20fc77f628847ce91a192c4ffb1534d1', 'loadClassLoader'), true, true);
22+
spl_autoload_register(array('ComposerAutoloaderInit7a6810d883e7e56f4120cefc43c77766', 'loadClassLoader'), true, true);
2323
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24-
spl_autoload_unregister(array('ComposerAutoloaderInit20fc77f628847ce91a192c4ffb1534d1', 'loadClassLoader'));
24+
spl_autoload_unregister(array('ComposerAutoloaderInit7a6810d883e7e56f4120cefc43c77766', 'loadClassLoader'));
2525

2626
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
2727
if ($useStaticLoader) {
2828
require_once __DIR__ . '/autoload_static.php';
2929

30-
call_user_func(\Composer\Autoload\ComposerStaticInit20fc77f628847ce91a192c4ffb1534d1::getInitializer($loader));
30+
call_user_func(\Composer\Autoload\ComposerStaticInit7a6810d883e7e56f4120cefc43c77766::getInitializer($loader));
3131
} else {
3232
$map = require __DIR__ . '/autoload_namespaces.php';
3333
foreach ($map as $namespace => $path) {

vendor/composer/autoload_static.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit20fc77f628847ce91a192c4ffb1534d1
7+
class ComposerStaticInit7a6810d883e7e56f4120cefc43c77766
88
{
99
public static $prefixLengthsPsr4 = array (
1010
'W' =>
@@ -131,9 +131,9 @@ class ComposerStaticInit20fc77f628847ce91a192c4ffb1534d1
131131
public static function getInitializer(ClassLoader $loader)
132132
{
133133
return \Closure::bind(function () use ($loader) {
134-
$loader->prefixLengthsPsr4 = ComposerStaticInit20fc77f628847ce91a192c4ffb1534d1::$prefixLengthsPsr4;
135-
$loader->prefixDirsPsr4 = ComposerStaticInit20fc77f628847ce91a192c4ffb1534d1::$prefixDirsPsr4;
136-
$loader->classMap = ComposerStaticInit20fc77f628847ce91a192c4ffb1534d1::$classMap;
134+
$loader->prefixLengthsPsr4 = ComposerStaticInit7a6810d883e7e56f4120cefc43c77766::$prefixLengthsPsr4;
135+
$loader->prefixDirsPsr4 = ComposerStaticInit7a6810d883e7e56f4120cefc43c77766::$prefixDirsPsr4;
136+
$loader->classMap = ComposerStaticInit7a6810d883e7e56f4120cefc43c77766::$classMap;
137137

138138
}, null, ClassLoader::class);
139139
}

0 commit comments

Comments
 (0)