Skip to content

feat: add is_admin field to staff view #251

feat: add is_admin field to staff view

feat: add is_admin field to staff view #251

Triggered via pull request February 2, 2024 22:22
Status Failure
Total duration 1m 3s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
OTP 25.x / Elixir 1.14.x: test/safira_web/controllers/auth_controller_test.exs#L63
test me when user is a staff (SafiraWeb.AuthControllerTest)
OTP 25.x / Elixir 1.14.x
Process completed with exit code 2.
OTP 25.x / Elixir 1.14.x: deps/poison/mix.exs#L4
String.strip/1 is deprecated. Use String.trim/1 instead
OTP 25.x / Elixir 1.14.x: lib/safira_web/controllers/fallback_controller.ex#L36
Phoenix.Controller.render/4 is deprecated. render/4 is deprecated. Use put_view + render/3
OTP 25.x / Elixir 1.14.x: lib/safira_web/controllers/fallback_controller.ex#L36
Phoenix.Controller.render/4 is deprecated. render/4 is deprecated. Use put_view + render/3
OTP 25.x / Elixir 1.14.x: lib/safira/web/uploaders/avatar.ex#L45
variable "file" is unused (if the variable is not meant to be used, prefix it with an underscore)
OTP 25.x / Elixir 1.14.x: lib/safira/web/uploaders/avatar.ex#L45
variable "version" is unused (if the variable is not meant to be used, prefix it with an underscore)
OTP 25.x / Elixir 1.14.x: lib/safira/web/uploaders/avatar.ex#L61
variable "scope" is unused (if the variable is not meant to be used, prefix it with an underscore)
OTP 25.x / Elixir 1.14.x: lib/safira/web/uploaders/avatar.ex#L61
variable "version" is unused (if the variable is not meant to be used, prefix it with an underscore)