beefproject / beefproject/beef

Refactor auth_rate_spec to account for password used in config

Open
#2,182 1 comment 0 reactions 0 assignees View on GitHub
Defect Maintainability Test
Dominant language
JavaScript
Stars
11k
Forks
2.4k
Avg merge
1d 1h
Merged PRs (30d)
15

Description

within /spec/beef/api/auth_rate_spec.rb
https://github.com/beefproject/beef/blob/1ae320c3bc9db748dff7e53fe919cdef80089062/spec/beef/api/auth_rate_spec.rb#L9-L15

The setting (and using later) of passwords in this manner breaks the test when you set custom env variables for a test user (TEST_BEEF_PASSWD or TEST_BEEF_USER) within the spec/constants.

Suggest using the constants provided in the config or constants without requiring a specific user / pass

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.