mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-17 08:32:41 +00:00
Testing
This commit is contained in:
parent
0980e4caa5
commit
b7c79b622b
|
@ -31,10 +31,14 @@ db = "bonfire_test#{System.get_env("MIX_TEST_PARTITION")}"
|
|||
# Run `mix help test` for more information.
|
||||
config :bonfire, Bonfire.Common.Repo,
|
||||
pool: Ecto.Adapters.SQL.Sandbox,
|
||||
pool_size: 60,
|
||||
pool_size: 20,
|
||||
# show_sensitive_data_on_connection_error: true,
|
||||
database: db,
|
||||
slow_query_ms: 500
|
||||
slow_query_ms: 500,
|
||||
queue_target: 5_000,
|
||||
queue_interval: 2_000,
|
||||
timeout: 10_000,
|
||||
connect_timeout: 10_000
|
||||
|
||||
config :bonfire, Bonfire.Web.Endpoint,
|
||||
http: [port: 4000]
|
||||
|
|
|
@ -8,13 +8,8 @@ config :bonfire, :ui,
|
|||
instance_image: "https://bonfirenetworks.org/img/4.png",
|
||||
instance_description: "This is a bonfire demo instance for testing purposes",
|
||||
instance_welcome: [
|
||||
title: "👋 Welcome to our first testing instance",
|
||||
description: "Bonfire is a federated social networking toolkit for communities and individuals to design, operate and control their digital lives, by assembling their own social networks like lego blocks in order to cultivate safe and private spaces while being interconnected with the rest of the 'fediverse' and the internet at wide on their own terms.
|
||||
The bonfire ecosystem will include:
|
||||
1. Bonfire apps/flavours: Open source federated networks that are ready to be installed and used for different purposes. Made up of a set of pre-configured extensions.
|
||||
2. Bonfire extensions: Forkable/customisable modules providing different features or UX, ready to be used within bonfire apps.
|
||||
3. Bonfire device: A plug-and-play device to have anything you need in your hands (literally).
|
||||
4. Bonfire cloud services: Your public identity in the cloud can receive messages even when your device is offline. Syncs your Bonfire device with the fediverse, and deletes already-synced data from the cloud. Open source so others can host equivalent services.
|
||||
title: "👋 Welcome to this testing instance",
|
||||
description: "Bonfire is a federated social networking toolkit to customise and host your own online space and control your experience at the most granular level.
|
||||
|
||||
More details at https://bonfirenetworks.org",
|
||||
links: [
|
||||
|
|
|
@ -26,7 +26,7 @@ defmodule Bonfire.ConnCase do
|
|||
import Bonfire.UI.Common.Testing.Helpers
|
||||
|
||||
import Phoenix.LiveViewTest
|
||||
import Bonfire.ConnCase
|
||||
# import Bonfire.ConnCase
|
||||
import Bonfire.Test.ConnHelpers
|
||||
import Bonfire.Test.FakeHelpers
|
||||
alias Bonfire.Me.Fake
|
||||
|
|
|
@ -23,7 +23,7 @@ defmodule Bonfire.DataCase do
|
|||
import Ecto
|
||||
import Ecto.Changeset
|
||||
import Ecto.Query
|
||||
import Bonfire.DataCase
|
||||
# import Bonfire.DataCase
|
||||
import Bonfire.Test.FakeHelpers
|
||||
import Bonfire.Me.Fake
|
||||
alias Bonfire.Me.Fake
|
||||
|
|
Loading…
Reference in a new issue