[ 'url' => 'https://localhost/api/v1.0/', 'expected' => true, ], 'insecure localhost API URL' => [ 'url' => 'http://localhost/api/v1.0/', 'expected' => false, ], 'secure localhost UCRM URL' => [ 'url' => 'https://localhost/', 'expected' => true, ], 'insecure localhost UCRM URL' => [ 'url' => 'http://localhost/', 'expected' => false, ], 'secure foreign URL' => [ 'url' => 'https://www.example.com/', 'expected' => false, ], 'insecure foreign URL' => [ 'url' => 'http://www.example.com/', 'expected' => false, ], ]; } }