@@ -25,10 +25,10 @@ describe('AzureDevOpsConfiguration', () => {
2525 variableManagerStub . getBooleanInput . withArgs ( 'waitForAllBuilds' , false ) . returns ( true ) ;
2626 variableManagerStub . getBooleanInput . withArgs ( 'releaseOnCancel' , true ) . returns ( true ) ;
2727 variableManagerStub . getBooleanInput . withArgs ( 'releaseOnError' , true ) . returns ( true ) ;
28- variableManagerStub . getVariable . withArgs ( "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI " ) . returns ( "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI " ) ;
29- variableManagerStub . getVariable . withArgs ( "SYSTEM_TEAMPROJECT " ) . returns ( "SYSTEM_TEAMPROJECT " ) ;
30- variableManagerStub . getVariable . withArgs ( "SYSTEM_ACCESSTOKEN " ) . returns ( "SYSTEM_ACCESSTOKEN " ) ;
31- variableManagerStub . getVariable . withArgs ( "BUILD_BUILDID " ) . returns ( "1" ) ;
28+ variableManagerStub . getVariable . withArgs ( "System.TeamFoundationCollectionUri " ) . returns ( "System.TeamFoundationCollectionUri " ) ;
29+ variableManagerStub . getVariable . withArgs ( "System.TeamProject " ) . returns ( "System.TeamProject " ) ;
30+ variableManagerStub . getVariable . withArgs ( "System.AccessToken " ) . returns ( "System.AccessToken " ) ;
31+ variableManagerStub . getVariable . withArgs ( "Build.BuildId " ) . returns ( "1" ) ;
3232
3333 var azureDevOpsConfiguration = new AzureDevOpsConfiguration ( variableManagerStub ) ;
3434
@@ -42,9 +42,9 @@ describe('AzureDevOpsConfiguration', () => {
4242 expect ( azureDevOpsConfiguration . waitForAllTriggeredBuilds ) . equal ( true ) ;
4343 expect ( azureDevOpsConfiguration . releaseOnCancel ) . equal ( true ) ;
4444 expect ( azureDevOpsConfiguration . releaseOnError ) . equal ( true ) ;
45- expect ( azureDevOpsConfiguration . teamFoundationCollectionUri ) . equal ( "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI " ) ;
46- expect ( azureDevOpsConfiguration . teamFoundationProject ) . equal ( "SYSTEM_TEAMPROJECT " ) ;
47- expect ( azureDevOpsConfiguration . accessToken ) . equal ( "SYSTEM_ACCESSTOKEN " ) ;
45+ expect ( azureDevOpsConfiguration . teamFoundationCollectionUri ) . equal ( "System.TeamFoundationCollectionUri " ) ;
46+ expect ( azureDevOpsConfiguration . teamFoundationProject ) . equal ( "System.TeamProject " ) ;
47+ expect ( azureDevOpsConfiguration . accessToken ) . equal ( "System.AccessToken " ) ;
4848 expect ( azureDevOpsConfiguration . currentBuildId ) . equal ( 1 ) ;
4949 } ) ;
5050 } ) ;
0 commit comments