Make all tests async
Doesn't make a difference at this stage, but it's a good foundation as the application grows.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
defmodule MusicLibraryWeb.CoverControllerTest do
|
defmodule MusicLibraryWeb.CoverControllerTest do
|
||||||
use MusicLibraryWeb.ConnCase
|
use MusicLibraryWeb.ConnCase, async: true
|
||||||
|
|
||||||
import MusicLibrary.RecordsFixtures
|
import MusicLibrary.RecordsFixtures
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
defmodule MusicLibraryWeb.StatsControllerTest do
|
defmodule MusicLibraryWeb.StatsControllerTest do
|
||||||
use MusicLibraryWeb.ConnCase
|
use MusicLibraryWeb.ConnCase, async: true
|
||||||
|
|
||||||
alias MusicLibrary.Records.Record
|
alias MusicLibrary.Records.Record
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
defmodule MusicLibraryWeb.RecordIndexTest do
|
defmodule MusicLibraryWeb.RecordIndexTest do
|
||||||
use MusicLibraryWeb.ConnCase
|
use MusicLibraryWeb.ConnCase, async: true
|
||||||
|
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
import MusicLibrary.RecordsFixtures
|
import MusicLibrary.RecordsFixtures
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
defmodule MusicLibraryWeb.RecordShowTest do
|
defmodule MusicLibraryWeb.RecordShowTest do
|
||||||
use MusicLibraryWeb.ConnCase
|
use MusicLibraryWeb.ConnCase, async: true
|
||||||
|
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
import MusicLibrary.RecordsFixtures
|
import MusicLibrary.RecordsFixtures
|
||||||
|
|||||||
Reference in New Issue
Block a user