Skip to content

test(board-test): fix issue with board test randomly failing #1054

test(board-test): fix issue with board test randomly failing

test(board-test): fix issue with board test randomly failing #1054

Triggered via push August 20, 2024 00:07
Status Failure
Total duration 3m 10s
Artifacts

main.yml

on: push
dependencies
12s
dependencies
Generate project documentation
0s
Generate project documentation
static_code_analysis
12s
static_code_analysis
Run tests
2m 39s
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/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#L86
test counts/2 when authenticated as notification receiver with max parameter set and notifications exceed max, returns max+ (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#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#L101
test dismiss/2 when unauthenticated, returns Unauthorized error (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#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
Process completed with exit code 2.
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