Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blockscout/apps/block_scout_web/config/test.exs

45 lines
1.3 KiB

import Config
config :block_scout_web, :sql_sandbox, true
# We don't run a server during test. If one is required,
# you can enable the server option below.
config :block_scout_web, BlockScoutWeb.Endpoint,
http: [port: 4002],
secret_key_base: "27Swe6KtEtmN37WyEYRjKWyxYULNtrxlkCEKur4qoV+Lwtk8lafsR16ifz1XBBYj",
server: true,
pubsub_server: BlockScoutWeb.PubSub,
checksum_address_hashes: true
config :block_scout_web, BlockScoutWeb.Tracer, disabled?: false
config :logger, :block_scout_web,
level: :warn,
path: Path.absname("logs/test/block_scout_web.log")
# Configure wallaby
config :wallaby, screenshot_on_failure: true, driver: Wallaby.Chrome, js_errors: false
config :block_scout_web, BlockScoutWeb.Counters.BlocksIndexedCounter, enabled: false
config :block_scout_web, :captcha_helper, BlockScoutWeb.TestCaptchaHelper
config :ueberauth, Ueberauth.Strategy.Auth0.OAuth,
domain: "example.com",
client_id: "clien_id",
client_secret: "secrets"
config :ueberauth, Ueberauth,
providers: [
auth0: {
Ueberauth.Strategy.Auth0,
[callback_url: "example.com/callback"]
}
],
logout_url: "example.com/logout",
logout_return_to_url: "example.com/return"
config :block_scout_web, BlockScoutWeb.Guardian,
issuer: "block_scout_web",
secret_key: "secret_key"