Skip to content

test(post): add factory for posts #1053

test(post): add factory for posts

test(post): add factory for posts #1053

Triggered via push August 19, 2024 23:53
Status Failure
Total duration 3m 7s
Artifacts

main.yml

on: push
dependencies
16s
dependencies
Generate project documentation
0s
Generate project documentation
static_code_analysis
12s
static_code_analysis
Run tests
2m 36s
Run tests
Release
0s
Release
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 13 warnings
static_code_analysis
Process completed with exit code 1.
Run tests: test/epochtalk_server_web/controllers/thread_test.exs#L220
test lock/2 given nonexistant thread, does not lock thread (Test.EpochtalkServerWeb.Controllers.Thread)
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L43
test counts/2 when authenticated as notification sender with no notifications, returns no mentions (Test.EpochtalkServerWeb.Controllers.Notification)
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L131
test dismiss/2 when authenticated as notification receiver, after dismiss of incorrect type, returns unchanged mentions count (Test.EpochtalkServerWeb.Controllers.Notification)
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L112
test dismiss/2 when authenticated as notification receiver with no mentions, after dismiss by type, returns no mentions (Test.EpochtalkServerWeb.Controllers.Notification)
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L150
test dismiss/2 when authenticated as notification receiver, after dismiss by mention id, returns updated mentions count (Test.EpochtalkServerWeb.Controllers.Notification)
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L101
test dismiss/2 when unauthenticated, returns Unauthorized error (Test.EpochtalkServerWeb.Controllers.Notification)
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L32
test counts/2 when unauthenticated, returns Unauthorized error (Test.EpochtalkServerWeb.Controllers.Notification)
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L67
test counts/2 when authenticated as notification receiver and notifications exceed default max, returns max+ (Test.EpochtalkServerWeb.Controllers.Notification)
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L55
test counts/2 when authenticated as notification receiver, returns mentions count (Test.EpochtalkServerWeb.Controllers.Notification)
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L86
test counts/2 when authenticated as notification receiver with max parameter set and notifications exceed max, returns max+ (Test.EpochtalkServerWeb.Controllers.Notification)
dependencies
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
static_code_analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run tests
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run tests: deps/poison/mix.exs#L4
String.strip/1 is deprecated. Use String.trim/1 instead
Run tests
Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead
Run tests
use Bitwise is deprecated. import Bitwise instead
Run tests
use Bitwise is deprecated. import Bitwise instead
Run tests
Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
Run tests
Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
Run tests
Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
Run tests
type id/0 is unused
Run tests
defp key/1 is private, @doc attribute is always discarded for private functions/macros/types
Run tests
defp query_param/2 is private, @doc attribute is always discarded for private functions/macros/types