diff --git a/test/support/audit_logs_client_mock.ex b/test/support/audit_logs_client_mock.ex index 2f2e8bf..a6567db 100644 --- a/test/support/audit_logs_client_mock.ex +++ b/test/support/audit_logs_client_mock.ex @@ -1,7 +1,7 @@ defmodule WorkOS.AuditLogs.ClientMock do @moduledoc false - use ExUnit.Case + import ExUnit.Assertions, only: [assert: 1] def create_event(context, opts \\ []) do Tesla.Mock.mock(fn request -> diff --git a/test/support/directory_sync_client_mock.ex b/test/support/directory_sync_client_mock.ex index f193b80..35de0dd 100644 --- a/test/support/directory_sync_client_mock.ex +++ b/test/support/directory_sync_client_mock.ex @@ -1,7 +1,7 @@ defmodule WorkOS.DirectorySync.ClientMock do @moduledoc false - use ExUnit.Case + import ExUnit.Assertions, only: [assert: 1] @directory_group_response %{ "id" => "dir_grp_123", diff --git a/test/support/events_client_mock.ex b/test/support/events_client_mock.ex index 93b5151..c1746ba 100644 --- a/test/support/events_client_mock.ex +++ b/test/support/events_client_mock.ex @@ -1,7 +1,7 @@ defmodule WorkOS.Events.ClientMock do @moduledoc false - use ExUnit.Case + import ExUnit.Assertions, only: [assert: 1] def list_events(context, opts \\ []) do Tesla.Mock.mock(fn request -> diff --git a/test/support/organization_domains_client_mock.ex b/test/support/organization_domains_client_mock.ex index 00769f8..9c12475 100644 --- a/test/support/organization_domains_client_mock.ex +++ b/test/support/organization_domains_client_mock.ex @@ -1,7 +1,7 @@ defmodule WorkOS.OrganizationDomains.ClientMock do @moduledoc false - use ExUnit.Case + import ExUnit.Assertions, only: [assert: 1] @organization_domain_mock %{ "object" => "organization_domain", diff --git a/test/support/organizations_client_mock.ex b/test/support/organizations_client_mock.ex index da151dd..d7076a0 100644 --- a/test/support/organizations_client_mock.ex +++ b/test/support/organizations_client_mock.ex @@ -1,7 +1,7 @@ defmodule WorkOS.Organizations.ClientMock do @moduledoc false - use ExUnit.Case + import ExUnit.Assertions, only: [assert: 1] def list_organizations(context, opts \\ []) do Tesla.Mock.mock(fn request -> diff --git a/test/support/passwordless_client_mock.ex b/test/support/passwordless_client_mock.ex index f597d3b..c87eccf 100644 --- a/test/support/passwordless_client_mock.ex +++ b/test/support/passwordless_client_mock.ex @@ -1,7 +1,7 @@ defmodule WorkOS.Passwordless.ClientMock do @moduledoc false - use ExUnit.Case + import ExUnit.Assertions, only: [assert: 1] def create_session(context, opts \\ []) do Tesla.Mock.mock(fn request -> diff --git a/test/support/portal_client_mock.ex b/test/support/portal_client_mock.ex index 94d87d8..28bb434 100644 --- a/test/support/portal_client_mock.ex +++ b/test/support/portal_client_mock.ex @@ -1,7 +1,7 @@ defmodule WorkOS.Portal.ClientMock do @moduledoc false - use ExUnit.Case + import ExUnit.Assertions, only: [assert: 1] def generate_link(context, opts \\ []) do Tesla.Mock.mock(fn request -> diff --git a/test/support/sso_client_mock.ex b/test/support/sso_client_mock.ex index fa51d72..ba4ac0f 100644 --- a/test/support/sso_client_mock.ex +++ b/test/support/sso_client_mock.ex @@ -1,7 +1,7 @@ defmodule WorkOS.SSO.ClientMock do @moduledoc false - use ExUnit.Case + import ExUnit.Assertions, only: [assert: 1] def get_profile_and_token(context, opts \\ []) do Tesla.Mock.mock(fn request -> diff --git a/test/support/user_management_client_mock.ex b/test/support/user_management_client_mock.ex index d49decb..036e5e4 100644 --- a/test/support/user_management_client_mock.ex +++ b/test/support/user_management_client_mock.ex @@ -1,7 +1,7 @@ defmodule WorkOS.UserManagement.ClientMock do @moduledoc false - use ExUnit.Case + import ExUnit.Assertions, only: [assert: 1] @user_mock %{ "object" => "user",