fix: Increase code coverage #28
Annotations
10 errors and 14 warnings
Run tests:
test/realtime/database_test.exs#L34
test replication_slot_teardown/2 removes replication slots with a given name and existing connection (Realtime.DatabaseTest)
|
Run tests:
test/realtime/database_test.exs#L19
test replication_slot_teardown/1 removes replication slots with the realtime prefix (Realtime.DatabaseTest)
|
Run tests:
test/realtime/database_test.exs#L111
test pool_size_by_application_name/2 returns the number of connections per application name (Realtime.DatabaseTest)
|
Run tests:
test/realtime/database_test.exs#L158
test detect_ip_version/1 detects appropriate IP version (Realtime.DatabaseTest)
|
Run tests:
test/realtime/database_test.exs#L69
test transaction/1 handles transaction errors (Realtime.DatabaseTest)
|
Run tests:
test/realtime/database_test.exs#L48
test replication_slot_teardown/2 removes replication slots with a given name and a tenant (Realtime.DatabaseTest)
|
Run tests:
test/realtime/database_test.exs#L202
test from_settings/3 handles SSL properties (Realtime.DatabaseTest)
|
Run tests:
test/realtime/database_test.exs#L178
test from_settings/3 returns struct with correct setup (Realtime.DatabaseTest)
|
Run tests:
test/realtime/database_test.exs#L76
test transaction/1 on checkout error, handles raised exception as an error (Realtime.DatabaseTest)
|
Run tests:
test/realtime/database_test.exs#L94
test transaction/1 run call using RPC (Realtime.DatabaseTest)
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run main database migrations
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
|
Run tests
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
|
Credo checks:
test/support/generators.ex#L48
Nested modules could be aliased at the top of the invoking module.
|
Credo checks:
test/integration/rt_channel_test.exs#L1047
Nested modules could be aliased at the top of the invoking module.
|
Credo checks:
test/integration/rt_channel_test.exs#L1010
Nested modules could be aliased at the top of the invoking module.
|
Credo checks:
test/integration/rt_channel_test.exs#L1007
Nested modules could be aliased at the top of the invoking module.
|
Credo checks:
lib/realtime_web/controllers/tenant_controller.ex#L193
Nested modules could be aliased at the top of the invoking module.
|
Credo checks:
test/realtime/tenants/authorization_test.exs#L184
Nested modules could be aliased at the top of the invoking module.
|
Credo checks:
lib/realtime_web/controllers/broadcast_controller.ex#L35
Nested modules could be aliased at the top of the invoking module.
|
Credo checks:
test/realtime_web/controllers/tenant_controller_test.exs#L154
Nested modules could be aliased at the top of the invoking module.
|
Credo checks:
test/realtime_web/controllers/tenant_controller_test.exs#L152
Nested modules could be aliased at the top of the invoking module.
|
Credo checks:
test/realtime_web/controllers/tenant_controller_test.exs#L64
Nested modules could be aliased at the top of the invoking module.
|
Loading