Skip to content

Commit

Permalink
bug: tests were using async for database connections resulting in pol…
Browse files Browse the repository at this point in the history
…lution of the database (#177)
  • Loading branch information
nwittstruck authored Jan 22, 2024
1 parent 4331be5 commit f31637e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/qrstorage/services/translation_service_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule Qrstorage.Services.TranslationServiceTest do
use ExUnit.Case, async: true
use Qrstorage.DataCase

alias Qrstorage.Services.TranslationService
alias Qrstorage.QrCodes
Expand Down
2 changes: 1 addition & 1 deletion test/qrstorage/services/tts_service_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule Qrstorage.Services.TtsServiceTest do
use ExUnit.Case, async: true
use Qrstorage.DataCase

alias Qrstorage.Services.TtsService
alias Qrstorage.QrCodes
Expand Down
2 changes: 1 addition & 1 deletion test/qrstorage/worker/remove_codes_worker_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule QrstorageRemoveCodesWorkerTest do
use ExUnit.Case, async: true
use Qrstorage.DataCase
use Oban.Testing, repo: Qrstorage.Repo

alias Qrstorage.QrCodes.QrCode
Expand Down

0 comments on commit f31637e

Please sign in to comment.