From e34bba8b75cd49abf415dca1cd97ce40b8e78061 Mon Sep 17 00:00:00 2001 From: Pascal Wink Date: Wed, 28 May 2025 14:12:34 +0200 Subject: [PATCH] rename Resource to resource so that the case sensitive environments can also resolve the path --- tests/Config.php | 2 +- tests/Context/Psd2ApiContextTest.php | 10 +++++----- tests/JsonParserTest.php | 4 ++-- .../Model/Generated/Endpoint/AttachmentPublicTest.php | 2 +- tests/Model/Generated/Endpoint/AvatarTest.php | 2 +- tests/Model/Generated/Object/NotificationUrlTest.php | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/Config.php b/tests/Config.php index 8f009b86..b0e76d34 100644 --- a/tests/Config.php +++ b/tests/Config.php @@ -12,7 +12,7 @@ class Config /** * The path where the config.json file is stored */ - const CONFIG_PATH = '/Resource/config.json'; + const CONFIG_PATH = '/resource/config.json'; /** * Delimiter between the IP addresses in the PERMITTED_IPS field. diff --git a/tests/Context/Psd2ApiContextTest.php b/tests/Context/Psd2ApiContextTest.php index f458a5fa..f4613893 100644 --- a/tests/Context/Psd2ApiContextTest.php +++ b/tests/Context/Psd2ApiContextTest.php @@ -20,11 +20,11 @@ class Psd2ApiContextTest extends TestCase /** * File constants. */ - const FILE_TEST_CONFIGURATION = __DIR__ . '/../Resource/bunq-psd2-test.conf'; - const FILE_TEST_OAUTH = __DIR__ . '/../Resource/bunq-oauth-test.conf'; - const FILE_TEST_CERTIFICATE = __DIR__ . '/../Resource/certificate.cert'; - const FILE_TEST_CERTIFICATE_CHAIN = __DIR__ . '/../Resource/certificate.cert'; - const FILE_TEST_PRIVATE_KEY = __DIR__ . '/../Resource/key.pem'; + const FILE_TEST_CONFIGURATION = __DIR__ . '/../resource/bunq-psd2-test.conf'; + const FILE_TEST_OAUTH = __DIR__ . '/../resource/bunq-oauth-test.conf'; + const FILE_TEST_CERTIFICATE = __DIR__ . '/../resource/certificate.cert'; + const FILE_TEST_CERTIFICATE_CHAIN = __DIR__ . '/../resource/certificate.cert'; + const FILE_TEST_PRIVATE_KEY = __DIR__ . '/../resource/key.pem'; const TEST_DEVICE_DESCRIPTION = 'PSD2TestDevice'; diff --git a/tests/JsonParserTest.php b/tests/JsonParserTest.php index fc93a3ab..be0ea7b9 100644 --- a/tests/JsonParserTest.php +++ b/tests/JsonParserTest.php @@ -36,8 +36,8 @@ class JsonParserTest extends TestCase /** * Resource location constants. */ - const RESOURCE_INSTALLATION_JSON = '/Resource/installation.json'; - const RESOURCE_USER_COMPANY_JSON = '/Resource/user_company.json'; + const RESOURCE_INSTALLATION_JSON = '/resource/installation.json'; + const RESOURCE_USER_COMPANY_JSON = '/resource/user_company.json'; /** * Function constants. diff --git a/tests/Model/Generated/Endpoint/AttachmentPublicTest.php b/tests/Model/Generated/Endpoint/AttachmentPublicTest.php index 3b3102ff..19cd581d 100644 --- a/tests/Model/Generated/Endpoint/AttachmentPublicTest.php +++ b/tests/Model/Generated/Endpoint/AttachmentPublicTest.php @@ -17,7 +17,7 @@ class AttachmentPublicTest extends BunqSdkTestBase /** * Points to the folder where attachments are located. */ - const PATH_ATTACHMENT = '/../../../Resource/'; + const PATH_ATTACHMENT = '/../../../resource/'; /** * Check if the file send is indeed the same file we receive. diff --git a/tests/Model/Generated/Endpoint/AvatarTest.php b/tests/Model/Generated/Endpoint/AvatarTest.php index 5556c37b..0131785e 100644 --- a/tests/Model/Generated/Endpoint/AvatarTest.php +++ b/tests/Model/Generated/Endpoint/AvatarTest.php @@ -23,7 +23,7 @@ class AvatarTest extends BunqSdkTestBase /** * Points to the directory where attachments are stored. */ - const PATH_ATTACHMENT = '/../../../Resource/'; + const PATH_ATTACHMENT = '/../../../resource/'; /** * Tests the creation of a new avatar. diff --git a/tests/Model/Generated/Object/NotificationUrlTest.php b/tests/Model/Generated/Object/NotificationUrlTest.php index 9cb73b20..7a6e8fe3 100644 --- a/tests/Model/Generated/Object/NotificationUrlTest.php +++ b/tests/Model/Generated/Object/NotificationUrlTest.php @@ -53,7 +53,7 @@ class NotificationUrlTest extends BunqSdkTestBase /** * Model json paths constants. */ - const BASE_PATH_JSON_MODEL = __DIR__ . '/../../../Resource/NotificationUrlJsons'; + const BASE_PATH_JSON_MODEL = __DIR__ . '/../../../resource/NotificationUrlJsons'; const JSON_PATH_MUTATION_MODEL = self::BASE_PATH_JSON_MODEL . '/Mutation.json'; const JSON_PATH_BUNQ_ME_TAB_MODEL = self::BASE_PATH_JSON_MODEL . '/BunqMeTab.json'; const JSON_PATH_CHAT_MESSAGE_ANNOUNCEMENT_MODEL = self::BASE_PATH_JSON_MODEL . '/ChatMessageAnnouncement.json';