mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Load specific env file when running API tests
This commit is contained in:
8
config/test/shlink-test.env
Normal file
8
config/test/shlink-test.env
Normal file
@@ -0,0 +1,8 @@
|
||||
# URL shortener
|
||||
DEFAULT_DOMAIN=s.test
|
||||
IS_HTTPS_ENABLED=false
|
||||
|
||||
# Disable mercure integration during E2E tests
|
||||
MERCURE_PUBLIC_HUB_URL=null
|
||||
MERCURE_INTERNAL_HUB_URL=null
|
||||
MERCURE_JWT_SECRET=null
|
||||
@@ -93,13 +93,6 @@ return [
|
||||
ConfigAggregator::ENABLE_CACHE => false,
|
||||
FastRouteRouter::CONFIG_CACHE_ENABLED => false,
|
||||
|
||||
'url_shortener' => [
|
||||
'domain' => [
|
||||
'schema' => 'http',
|
||||
'hostname' => 's.test',
|
||||
],
|
||||
],
|
||||
|
||||
'routes' => [
|
||||
// This route is used to test that title resolution is skipped if the long URL times out
|
||||
[
|
||||
@@ -120,13 +113,6 @@ return [
|
||||
],
|
||||
],
|
||||
|
||||
// Disable mercure integration during E2E tests
|
||||
'mercure' => [
|
||||
'public_hub_url' => null,
|
||||
'internal_hub_url' => null,
|
||||
'jwt_secret' => null,
|
||||
],
|
||||
|
||||
'dependencies' => [
|
||||
'services' => [
|
||||
'shlink_test_api_client' => new Client([
|
||||
|
||||
Reference in New Issue
Block a user