<?php
declare(strict_types=1);

/**
 * /home/simeyaonline/private/ctn-test-environment.php
 *
 * IMPORTANT
 * -------
 * Keep this file OUTSIDE every public document root.
 * chmod suggestion: 0600 where your hosting permits it.
 *
 * Fill in the two passwords on the server.
 */

return [
    'environment' => 'test',

    'allowed_hosts' => [
        'test.simeya.online',
        'test.ctn.travel',
    ],

    'ctn' => [
        'host'     => 'localhost',
        'database' => 'ctn_extranet_test',
        'user'     => 'ctn_test',
        'password' => 'PASTE_CTN_TEST_PASSWORD_HERE',
        'charset'  => 'utf8mb4',
    ],

    'hub' => [
        'host'     => 'localhost',
        'database' => 'simeya_extranet_test',
        'user'     => 'simeyaonline_test',
        'password' => 'PASTE_HUB_TEST_PASSWORD_HERE',
        'charset'  => 'utf8mb4',
    ],

    /*
     * Hard-blocked production DB names.
     * The test bootstraps refuse to connect when either configured
     * database matches one of these.
     */
    'blocked_databases' => [
        'ctn_extranet',
        'simeyaonline_extranet',
    ],

    /*
     * Optional production hosts that TEST must never identify as.
     */
    'blocked_hosts' => [
        'ctn.simeya.online',
        'ctn.travel',
        'extranet.simeya.online',
    ],
];
