File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Fossology.Rest.Dotnet.Test Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public class FossologyClientTest
45
45
/// <summary>
46
46
/// The access token.
47
47
/// </summary>
48
- private const string Token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NDc4MjA3OTksIm5iZiI6MTY0NzQ3NTIwMCwianRpIjoiTWk0eiIsInNjb3BlIjoid3JpdGUifQ.8PK99xI7N482c1GC2Onzwe2p74Y80_ef4DVj99jiwn4 " ;
48
+ private const string Token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NzI2MTc1OTksIm5iZiI6MTY3MjM1ODQwMCwianRpIjoiTWk0eiIsInNjb3BlIjoid3JpdGUifQ.zivhU2CiTDI2_PqWvPejifhs6d6HohVOW6w1XG3GUSQ " ;
49
49
50
50
/// <summary>
51
51
/// The filename of a test package.
@@ -801,9 +801,11 @@ public void MyIntegrationTestLikeUnitTest()
801
801
Assert . IsNotNull ( user ) ;
802
802
Assert . AreEqual ( 2 , user . Id ) ;
803
803
804
+ #if false
804
805
var searchresult = client . Search ( "%" ) ;
805
806
Assert . IsNotNull ( searchresult ) ;
806
807
Assert . IsTrue ( searchresult . Count > 0 ) ;
808
+ #endif
807
809
808
810
var jobTrigger = new TriggerInfo ( ) ;
809
811
jobTrigger . Analysis . Bucket = true ;
@@ -1101,7 +1103,7 @@ private static int TriggerReportGeneration(int uploadId)
1101
1103
Assert . AreEqual ( "INFO" , result . Type ) ;
1102
1104
Assert . AreEqual ( 201 , result . Code ) ;
1103
1105
1104
- var text = result . Message [ ( result . Message . LastIndexOf ( '/' ) + 1 ) ..] ;
1106
+ var text = result . Message [ ( result . Message . LastIndexOf ( '/' ) + 1 ) ..] ;
1105
1107
return int . Parse ( text ) ;
1106
1108
}
1107
1109
You can’t perform that action at this time.
0 commit comments