Increase code coverage of DeployToken to 100%, and make sure all nullable fields have tests
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
gitlab-org/release/retrospectives#1 (closed) describes an incident with deploy tokens that was partially caused by a lack of proper code coverage, and specifically data coverage as in this case a nullable column had no tests for when the value was null.
We should make sure that the code coverage of DeployToken is 100% in both CE and EE, and that any column that can be NULL has tests for that case.
Edited by 🤖 GitLab Bot 🤖