@@ -17,13 +17,13 @@ function calculate_checksum(message, salt, algorithm = "sha1") {
17
17
}
18
18
19
19
describe ( "Testing checksum validations" , function ( ) {
20
- describe ( "Setting the checksum_salt for the app" , function ( ) {
20
+ describe ( "Setting the salt for the app" , function ( ) {
21
21
it ( "should successfully update the app" , function ( done ) {
22
22
API_KEY_ADMIN = testUtils . get ( "API_KEY_ADMIN" ) ;
23
23
APP_ID = testUtils . get ( "APP_ID" ) ;
24
24
APP_KEY = testUtils . get ( "APP_KEY" ) ;
25
25
26
- const args = { app_id : APP_ID , checksum_salt : TEST_SALT } ;
26
+ const args = { app_id : APP_ID , salt : TEST_SALT } ;
27
27
28
28
request
29
29
. get ( "/i/apps/update" )
@@ -35,7 +35,7 @@ describe("Testing checksum validations", function() {
35
35
}
36
36
37
37
const responseObject = JSON . parse ( response . text ) ;
38
- responseObject . should . have . property ( "checksum_salt " , TEST_SALT ) ;
38
+ responseObject . should . have . property ( "salt " , TEST_SALT ) ;
39
39
setTimeout ( done , 1000 * testUtils . testScalingFactor ) ;
40
40
} ) ;
41
41
} ) ;
@@ -185,9 +185,9 @@ describe("Testing checksum validations", function() {
185
185
} ) ;
186
186
} ) ;
187
187
188
- describe ( "Removing the checksum_salt for the app" , function ( ) {
188
+ describe ( "Removing the salt for the app" , function ( ) {
189
189
it ( "should successfully update it as an empty string" , function ( done ) {
190
- const args = { app_id : APP_ID , checksum_salt : "" } ;
190
+ const args = { app_id : APP_ID , salt : "" } ;
191
191
192
192
request
193
193
. get ( "/i/apps/update" )
@@ -199,7 +199,7 @@ describe("Testing checksum validations", function() {
199
199
}
200
200
201
201
const responseObject = JSON . parse ( response . text ) ;
202
- responseObject . should . have . property ( "checksum_salt " , "" ) ;
202
+ responseObject . should . have . property ( "salt " , "" ) ;
203
203
setTimeout ( done , 1000 * testUtils . testScalingFactor ) ;
204
204
} ) ;
205
205
} ) ;
0 commit comments