Skip to content

Use Enum.count instead of count for team_count/size #43

Use Enum.count instead of count for team_count/size

Use Enum.count instead of count for team_count/size #43

Triggered via pull request June 11, 2024 05:03
Status Failure
Total duration 3m 24s
Artifacts

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
Build and test: test/teiserver_web/live/microblog/admin/tag_live_test.exs#L52
test Basic auth test basic user (TeiserverWeb.TagLiveTest)
Build and test: test/teiserver_web/live/microblog/admin/post_live_test.exs#L52
test Basic auth test basic user (TeiserverWeb.PostLiveTest)
Build and test: test/teiserver_web/live/battle_live_test.exs#L161
test battle live chat - valid battle (TeiserverWeb.Live.BattleTest)
Build and test: test/teiserver_web/live/battle_live_test.exs#L84
test battle live show - valid battle (TeiserverWeb.Live.BattleTest)
Build and test: test/teiserver_web/live/client_live_test.exs#L19
test client live index (TeiserverWeb.Live.ClientTest)
Build and test: test/teiserver_web/live/client_live_test.exs#L78
test client live show - no client (TeiserverWeb.Live.ClientTest)
Build and test: test/teiserver_web/live/client_live_test.exs#L60
test client live show - valid client (TeiserverWeb.Live.ClientTest)
Build and test: test/teiserver_web/live/account/profile/overview_test.exs#L60
test join lobby renders error flash when client is not connected (TeiserverWeb.Live.Account.Profile.OverviewTest)
Build and test: test/teiserver_web/controllers/report/general_controller_test.exs#L11
test index (TeiserverWeb.Report.GeneralControllerTest)
Build and test: test/teiserver_web/controllers/moderation/proposal_controller_test.exs#L150
test update proposal renders errors when data is invalid (TeiserverWeb.Moderation.ProposalControllerTest)
Build and test: test/teiserver/protocols/spring/spring_auth_test.exs#L563
variable "user" is unused (if the variable is not meant to be used, prefix it with an underscore)
Build and test: test/teiserver_web/controllers/api/spads_controller_test.exs#L107
Teiserver.User.update_user/1 is undefined (module Teiserver.User is not available or is yet to be defined)
Build and test: lib/teiserver_web/live/account/profile/overview.ex#L289
variable "user_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
Build and test: lib/teiserver_web/live/account/profile/overview.ex#L288
clauses with the same name and arity (number of arguments) should be grouped together, "def handle_event/3" was previously defined (lib/teiserver_web/live/account/profile/overview.ex:87)
Build and test: lib/teiserver_web/live/account/profile/overview.ex#L328
clauses with the same name and arity (number of arguments) should be grouped together, "def get_relationships_and_permissions/1" was previously defined (lib/teiserver_web/live/account/profile/overview.ex:272)
Build and test: lib/teiserver_web/live/account/profile/overview.ex#L62
module attribute @impl was not set for function handle_info/2 callback (specified in Phoenix.LiveView). This either means you forgot to add the "@impl true" annotation before the definition or that you are accidentally overriding this callback