Skip to content

Commit

Permalink
Repositories (#63)
Browse files Browse the repository at this point in the history
* renamed git files to repositories.
About to add more git support and the filename would be confusing.

* Added Get-GitRef
Added new tests to bring code coverage to 99.69%
Major refactor of the Provider and started using them in the functions.
Fixed formating for provider classes.
Removed boilerplate comments from format and type files.
No longer need InovkePester.ps1

* Fixed the casing of the module name in tests.
This caused tests to fail on Linux

* Corrected issue with Write-Object

* Adding code to find issue with Repo Class

* New test for loading types.

* Force load of module.

* renamed VSTeamRepository to  VSTeamRepo

* Rename did not fix anything so putting it back.
I updated the release to get the integration tests to pass.

* Final changes to Readme file for version 3.0.2

* fix small typos in 010_projects.Tests.ps1 (#62)
  • Loading branch information
DarqueWarrior authored Jul 20, 2018
1 parent 9d1ffd0 commit e3ed5da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/test/010_projects.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ Describe 'VSTeam Integration Tests' -Tag 'integration' {
}

Context 'Service Endpoints full exercise' {
It 'Add-VSTeamSonarQubeEndpoint Should add servcie endpoint' {
It 'Add-VSTeamSonarQubeEndpoint Should add service endpoint' {
{ Add-VSTeamSonarQubeEndpoint -ProjectName $newProjectName -EndpointName 'TestSonarQube' `
-SonarQubeURl 'http://sonarqube.somewhereIn.cloudapp.azure.com:9000' -PersonalAccessToken 'Faketoken' } | Should Not Throw
}

It 'Add-VSTeamAzureRMServiceEndpoint Should add servcie endpoint' {
It 'Add-VSTeamAzureRMServiceEndpoint Should add service endpoint' {
{ Add-VSTeamAzureRMServiceEndpoint -ProjectName $newProjectName -displayName 'AzureEndoint' `
-subscriptionId '00000000-0000-0000-0000-000000000000' -subscriptionTenantId '00000000-0000-0000-0000-000000000000' `
-servicePrincipalId '00000000-0000-0000-0000-000000000000' -servicePrincipalKey 'fakekey' } | Should Not Throw
Expand Down Expand Up @@ -245,7 +245,7 @@ Describe 'VSTeam Integration Tests' -Tag 'integration' {
if (-not ($acct -like "http://*")) {
Context 'Users exercise' {

It 'Get-VSTeamUser Should return all usrs' {
It 'Get-VSTeamUser Should return all users' {
Get-VSTeamUser | Should Not Be $null
}

Expand Down

0 comments on commit e3ed5da

Please sign in to comment.