View Source Zoonk.Fixtures.Organizations (Zoonk v0.1.0-alpha)
This module defines test helpers for creating
entities via the Zoonk.Organizations
context.
Link to this section Summary
Functions
Generate a school.
Add users to a school
Generate a unique school custom_domain.
Generate a unique school username.
Get a school with valid attributes.
Link to this section Functions
@spec school_fixture(map()) :: Zoonk.Organizations.School.t()
Generate a school.
@spec school_user_fixture(Keyword.t()) :: Zoonk.Organizations.SchoolUser.t()
Add users to a school
@spec unique_school_custom_domain() :: String.t()
Generate a unique school custom_domain.
@spec unique_school_username() :: String.t()
Generate a unique school username.
Get a school with valid attributes.