@@ -60,7 +60,7 @@ public void UploadDynamoPackageVersionTest()
6060
6161 var files = new List < string > ( ) { "../test/pedro.dyf" , "../test/RootNode.dyf" } ;
6262 var request = new PackageVersionUpload ( nv , files ) ;
63- Assert . That ( request . RequestBody . AsJson ( ) . Equals ( "{\" file_hash\" :null,\" name\" :\" Third .NET Package\" ,\" version\" :\" 2.1.0\" ,\" description\" :\" \" ,\" group\" :\" group\" ,\" keywords\" :[\" neat\" ,\" ok\" ],\" dependencies\" :[{\" name\" :\" peter\" ,\" version\" :\" 0.1.0\" },{\" name\" :\" stephen\" ,\" version\" :\" 0.1.0\" }],\" host_dependencies\" :[],\" contents\" :\" contents\" ,\" engine_version\" :\" 0.1.0\" ,\" engine\" :\" dynamo\" ,\" engine_metadata\" :\" metadata\" ,\" site_url\" :\" \" ,\" repository_url\" :\" \" ,\" contains_binaries\" :false,\" node_libraries\" :[],\" copyright_holder\" :\" Dynamo Team\" ,\" copyright_year\" :\" 2021\" ,\" compatibility_matrix\" :\" \" ,\" releaseNotesUrl \" :\" \" }" ) ) ;
63+ Assert . That ( request . RequestBody . AsJson ( ) . Equals ( "{\" file_hash\" :null,\" name\" :\" Third .NET Package\" ,\" version\" :\" 2.1.0\" ,\" description\" :\" \" ,\" group\" :\" group\" ,\" keywords\" :[\" neat\" ,\" ok\" ],\" dependencies\" :[{\" name\" :\" peter\" ,\" version\" :\" 0.1.0\" },{\" name\" :\" stephen\" ,\" version\" :\" 0.1.0\" }],\" host_dependencies\" :[],\" contents\" :\" contents\" ,\" engine_version\" :\" 0.1.0\" ,\" engine\" :\" dynamo\" ,\" engine_metadata\" :\" metadata\" ,\" site_url\" :\" \" ,\" repository_url\" :\" \" ,\" contains_binaries\" :false,\" node_libraries\" :[],\" copyright_holder\" :\" Dynamo Team\" ,\" copyright_year\" :\" 2021\" ,\" compatibility_matrix\" :\" \" ,\" release_notes_url \" :\" \" }" ) ) ;
6464 Console . WriteLine ( request . RequestBody . AsJson ( ) ) ;
6565 }
6666
@@ -74,7 +74,7 @@ public void UploadDynamoPackageWithHostDependencyTest()
7474
7575 var files = new List < string > ( ) { "../test/pedro.dyf" , "../test/RootNode.dyf" } ;
7676 var request = new PackageVersionUpload ( nv , files ) ;
77- Assert . That ( request . RequestBody . AsJson ( ) . Equals ( "{\" file_hash\" :null,\" name\" :\" Third .NET Package\" ,\" version\" :\" 2.1.0\" ,\" description\" :\" \" ,\" group\" :\" group\" ,\" keywords\" :[\" Civil\" ],\" dependencies\" :[{\" name\" :\" Ram\" ,\" version\" :\" 0.1.0\" },{\" name\" :\" Ian\" ,\" version\" :\" 0.1.0\" }],\" host_dependencies\" :[\" Civil3D\" ],\" contents\" :\" contents\" ,\" engine_version\" :\" 0.1.0\" ,\" engine\" :\" dynamo\" ,\" engine_metadata\" :\" metadata\" ,\" site_url\" :\" \" ,\" repository_url\" :\" \" ,\" contains_binaries\" :false,\" node_libraries\" :[],\" copyright_holder\" :\" Dynamo Team\" ,\" copyright_year\" :\" 2021\" ,\" compatibility_matrix\" :\" \" ,\" releaseNotesUrl \" :\" \" }" ) ) ;
77+ Assert . That ( request . RequestBody . AsJson ( ) . Equals ( "{\" file_hash\" :null,\" name\" :\" Third .NET Package\" ,\" version\" :\" 2.1.0\" ,\" description\" :\" \" ,\" group\" :\" group\" ,\" keywords\" :[\" Civil\" ],\" dependencies\" :[{\" name\" :\" Ram\" ,\" version\" :\" 0.1.0\" },{\" name\" :\" Ian\" ,\" version\" :\" 0.1.0\" }],\" host_dependencies\" :[\" Civil3D\" ],\" contents\" :\" contents\" ,\" engine_version\" :\" 0.1.0\" ,\" engine\" :\" dynamo\" ,\" engine_metadata\" :\" metadata\" ,\" site_url\" :\" \" ,\" repository_url\" :\" \" ,\" contains_binaries\" :false,\" node_libraries\" :[],\" copyright_holder\" :\" Dynamo Team\" ,\" copyright_year\" :\" 2021\" ,\" compatibility_matrix\" :\" \" ,\" release_notes_url \" :\" \" }" ) ) ;
7878 Console . WriteLine ( request . RequestBody . AsJson ( ) ) ;
7979 }
8080
0 commit comments