There is a special case of Repository URL where the repository name is the same as the project name. In this situation the Azure DevOps URL in the browser will be shortened to exclude the project name. We were not recognizing this case as a valid Azure URI. This fix corrects this case and adds tests to validate it works.
References and relevant issues
Closes #30
Detailed description of the pull request / Additional comments
Added handling in AzureURI's Project property initialization for the special Repository cases.
Added tests for this URL in the validation of AzureUri.
Validation steps performed
Ran the new tests successfully, verified their output was correct.
Validated manually that a Pull Request Widget can be created using this format and is pinned correctly.
Summary of the pull request
There is a special case of Repository URL where the repository name is the same as the project name. In this situation the Azure DevOps URL in the browser will be shortened to exclude the project name. We were not recognizing this case as a valid Azure URI. This fix corrects this case and adds tests to validate it works.
References and relevant issues
Closes #30
Detailed description of the pull request / Additional comments
Validation steps performed
PR checklist