Skip to content

[api] Adding support to wipe via token

Codecov / codecov/patch failed Dec 6, 2024 in 0s

38.09% of diff hit (target 86.96%)

View this Pull Request on Codecov

38.09% of diff hit (target 86.96%)

Annotations

Check warning on line 57 in src/api/app/controllers/trigger_controller.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/api/app/controllers/trigger_controller.rb#L57

Added line #L57 was not covered by tests

Check warning on line 144 in src/api/app/lib/backend/api/sources/package.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/api/app/lib/backend/api/sources/package.rb#L144

Added line #L144 was not covered by tests

Check warning on line 44 in src/api/app/models/token.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/api/app/models/token.rb#L44

Added line #L44 was not covered by tests

Check warning on line 7 in src/api/app/models/token/wipe.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/api/app/models/token/wipe.rb#L3-L7

Added lines #L3 - L7 were not covered by tests

Check warning on line 11 in src/api/app/models/token/wipe.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/api/app/models/token/wipe.rb#L11

Added line #L11 was not covered by tests

Check warning on line 17 in src/api/app/models/token/wipe.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/api/app/models/token/wipe.rb#L17

Added line #L17 was not covered by tests

Check warning on line 4 in src/api/app/policies/token/wipe_policy.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/api/app/policies/token/wipe_policy.rb#L3-L4

Added lines #L3 - L4 were not covered by tests

Check warning on line 6 in src/api/app/policies/token/wipe_policy.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/api/app/policies/token/wipe_policy.rb#L6

Added line #L6 was not covered by tests