| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- declare(strict_types=1);
- /**
- * Test configuration file
- * This file contains MOCK values for testing - never real credentials
- * For real credentials, use .env.testing file
- */
- return [
- // Mock API credentials - these are fake values for unit testing
- 'test_credentials' => [
- 'sid' => 'mock_sid_12345',
- 'app_key' => 'mock_app_key_67890',
- 'app_secret' => 'mock_app_secret_abcdef',
- ],
-
- // Mock API endpoints for testing
- 'test_endpoints' => [
- 'sandbox_base_url' => 'https://mock-api.example.com/openapi2',
- 'production_base_url' => 'https://mock-prod-api.example.com/openapi2',
- ],
-
- // Test timeouts and settings
- 'test_settings' => [
- 'timeout' => 5, // Shorter timeout for tests
- 'debug' => true,
- 'log_file' => null, // No logging during tests
- ],
-
- // Mock response data for testing
- 'mock_responses' => [
- 'success' => [
- 'code' => 0,
- 'message' => 'Success',
- 'data' => ['test' => 'result']
- ],
- 'error' => [
- 'code' => 1001,
- 'message' => 'Test error',
- 'data' => null
- ],
- ],
- ];
|