From 9c3403489105feacbbd5acfdf3be6e87e0356e4e Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 22 Aug 2024 07:25:15 +0200 Subject: [PATCH] adjust tests accordingly --- tests/Composer/Test/Autoload/Fixtures/autoload_main.php | 2 +- tests/Composer/Test/Autoload/Fixtures/autoload_psr4.php | 2 +- tests/Composer/Test/Autoload/Fixtures/autoload_psr4_2.php | 2 +- tests/Composer/Test/Autoload/Fixtures/autoload_psr4_3.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_main.php b/tests/Composer/Test/Autoload/Fixtures/autoload_main.php index 3026720f2..67e03842c 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_main.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_main.php @@ -7,5 +7,5 @@ $baseDir = dirname($vendorDir); return array( 'Main' => array($baseDir . '/src'), - 'Lala' => array($baseDir . '/src', $baseDir . '/lib'), + 'Lala' => array($baseDir . '/lib', $baseDir . '/src'), ); diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_psr4.php b/tests/Composer/Test/Autoload/Fixtures/autoload_psr4.php index cc48ab1c6..3e425834a 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_psr4.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_psr4.php @@ -7,5 +7,5 @@ $baseDir = dirname($vendorDir); return array( 'Acme\\Fruit\\' => array($baseDir . '/src-fruit'), - 'Acme\\Cake\\' => array($baseDir . '/src-cake', $baseDir . '/lib-cake'), + 'Acme\\Cake\\' => array($baseDir . '/lib-cake', $baseDir . '/src-cake'), ); diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_psr4_2.php b/tests/Composer/Test/Autoload/Fixtures/autoload_psr4_2.php index 92f42eddf..aff1a2f5e 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_psr4_2.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_psr4_2.php @@ -7,5 +7,5 @@ $baseDir = dirname(dirname($vendorDir)); return array( 'Acme\\Fruit\\' => array($baseDir . '/src-fruit'), - 'Acme\\Cake\\' => array($baseDir . '/src-cake', $baseDir . '/lib-cake'), + 'Acme\\Cake\\' => array($baseDir . '/lib-cake', $baseDir . '/src-cake'), ); diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_psr4_3.php b/tests/Composer/Test/Autoload/Fixtures/autoload_psr4_3.php index 37134c608..52bca17c1 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_psr4_3.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_psr4_3.php @@ -7,5 +7,5 @@ $baseDir = $vendorDir; return array( 'Acme\\Fruit\\' => array($vendorDir . '/src-fruit'), - 'Acme\\Cake\\' => array($vendorDir . '/src-cake', $vendorDir . '/lib-cake'), + 'Acme\\Cake\\' => array($vendorDir . '/lib-cake', $vendorDir . '/src-cake'), );