Skip to content

Commit

Permalink
fixed vendor paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mandan2 committed May 28, 2024
1 parent a860a72 commit d7e6f25
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CreateTestDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Prestashop\Testing\Database\Config\Config;
use Prestashop\Testing\Database\Processor\CreateTestingDatabaseProcessor;

$localAutoloadFilePath = 'vendor/prestashop-module-testing-database/vendor/autoload.php';
$localAutoloadFilePath = 'vendor/mandan2/prestashop-module-testing-database/vendor/autoload.php';

if (!file_exists($localAutoloadFilePath)) {
echo '[ERROR] ' . 'Failed to reach autoload' . PHP_EOL;
Expand Down
2 changes: 1 addition & 1 deletion UseOriginalDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Prestashop\Testing\Database\Config\Config;
use Prestashop\Testing\Database\Processor\DatabaseParametersOverrideProcessor;

$localAutoloadFilePath = 'vendor/prestashop-module-testing-database/vendor/autoload.php';
$localAutoloadFilePath = 'vendor/mandan2/prestashop-module-testing-database/vendor/autoload.php';

if (!file_exists($localAutoloadFilePath)) {
echo '[ERROR] ' . 'Failed to reach autoload' . PHP_EOL;
Expand Down
2 changes: 1 addition & 1 deletion UseTestDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Prestashop\Testing\Database\Config\Config;
use Prestashop\Testing\Database\Processor\DatabaseParametersOverrideProcessor;

$localAutoloadFilePath = 'vendor/prestashop-module-testing-database/vendor/autoload.php';
$localAutoloadFilePath = 'vendor/mandan2/prestashop-module-testing-database/vendor/autoload.php';

if (!file_exists($localAutoloadFilePath)) {
echo '[ERROR] ' . 'Failed to reach autoload' . PHP_EOL;
Expand Down
6 changes: 3 additions & 3 deletions src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ class Config
public const PRESTASHOP_AUTOLOAD_FILE_PATH = '../../vendor/autoload.php';
public const PRESTASHOP_CONFIG_FILE_PATH = '../../config/config.inc.php';
public const PRESTASHOP_PARAMETERS_FILE_PATH = '../../app/config/parameters.php';
public const BASE_INCLUDES_FILE_PATH = 'vendor/prestashop-module-testing-database/BaseIncludes.php';
public const DATABASE_BACKUP_FILE_PATH = 'vendor/prestashop-module-testing-database/temp/backup.sql';
public const BASE_INCLUDES_FILE_PATH = 'vendor/mandan2/prestashop-module-testing-database/BaseIncludes.php';
public const DATABASE_BACKUP_FILE_PATH = 'vendor/mandan2/prestashop-module-testing-database/temp/backup.sql';
public const NEW_DATABASE_NAME = 'prestashop_test';
public const PARAMETERS_BACKUP_FILE_PATH = 'vendor/prestashop-module-testing-database/temp/parameters.php.bak';
public const PARAMETERS_BACKUP_FILE_PATH = 'vendor/mandan2/prestashop-module-testing-database/temp/parameters.php.bak';
}

0 comments on commit d7e6f25

Please sign in to comment.