Skip to content

Commit 46e90a6

Browse files
committed
Correct order of moduletag attributes in tests
Address a credo --strict issue we hadn't seen before because CI wasn't able to run.
1 parent d61c72e commit 46e90a6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/oban/web/pages/crons/detail_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ end
88
defmodule Oban.Web.Pages.Crons.DetailTest do
99
use Oban.Web.Case
1010

11-
@moduletag :pro
12-
1311
alias Oban.Pro.Plugins.DynamicCron
1412
alias Oban.Workers.DetailCronWorker
1513

14+
@moduletag :pro
15+
1616
setup do
1717
start_supervised_oban!(
1818
plugins: [

test/oban/web/pages/crons/index_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ end
2222
defmodule Oban.Web.Pages.Crons.IndexTest do
2323
use Oban.Web.Case
2424

25-
@moduletag :pro
26-
2725
alias Oban.Pro.Plugins.DynamicCron
2826

27+
@moduletag :pro
28+
2929
setup do
3030
static_crontab = [
3131
{"* * * * *", Oban.Workers.CronA},

0 commit comments

Comments
 (0)