Skip to content

Commit 69deca3

Browse files
committed
chore: credo
1 parent 44ad8e1 commit 69deca3

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

test/support/account.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
defmodule AshDoubleEntry.Test.Account do
2+
@moduledoc false
23
use Ash.Resource,
34
domain: AshDoubleEntry.Test.Domain,
45
data_layer: AshPostgres.DataLayer,

test/support/balance.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
defmodule AshDoubleEntry.Test.Balance do
2+
@moduledoc false
3+
24
use Ash.Resource,
35
domain: AshDoubleEntry.Test.Domain,
46
data_layer: AshPostgres.DataLayer,
57
extensions: [AshDoubleEntry.Balance]
68

79
defmodule RequiresPositiveBalance do
10+
@moduledoc false
811
use Ash.Resource.Validation
912

1013
def validate(changeset, _, _) do

test/support/domain.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
defmodule AshDoubleEntry.Test.Domain do
2+
@moduledoc false
23
use Ash.Domain
34

45
resources do

test/support/repo.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ defmodule AshDoubleEntry.Test.Repo do
1010
)}
1111
end
1212

13+
def list_tenants, do: []
14+
1315
@doc false
1416
def installed_extensions,
1517
do: ["ash-functions", "uuid-ossp", "citext", AshMoney.AshPostgresExtension]

test/support/transfer.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
defmodule AshDoubleEntry.Test.Transfer do
2+
@moduledoc false
23
use Ash.Resource,
34
domain: AshDoubleEntry.Test.Domain,
45
data_layer: AshPostgres.DataLayer,

0 commit comments

Comments
 (0)