Skip to content

test(project): add missing project tests

Jay McCure requested to merge jmc-add-project-tests into main

Description

The subcommands under glab project (aka glab repo) did not have many tests. This MR adds tests for the following commands which previously did not have tests:

  • glab project contributors
  • glab project delete
  • glab project list
  • glab project view

The tests have been written in a table style to make it easier for future contributors to add more tests.

How has this been tested?

NO_COLOR=true go test -v

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Jay McCure

Merge request reports