Skip to content

Commit

Permalink
Update vhost configuration test in webserver robot test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed May 16, 2024
1 parent 1eb01cb commit 20e9aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/webserver.robot
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Check if vhost can be created
Should Be Equal As Integers ${rc} 0

Check if vhost can be updated
${rc} = Execute Command api-cli run module/${module_id}/update-vhost --data '{"PhpVersion":"8.2","ServerNames":["foo.com","john.com"],"MemoryLimit":512,"AllowUrlfOpen":"disabled","UploadMaxFilesize":4,"PostMaxSize":8,"MaxExecutionTime":0,"MaxFileUploads":20,"lets_encrypt":false,"http2https":true,"Indexes":"disabled","status":"enabled"}'
${rc} = Execute Command api-cli run module/${module_id}/update-vhost --data '{"PhpVersion":"8.2","ServerNames":["foo.com","john.com"],"Port":9001,"MemoryLimit":512,"AllowUrlfOpen":"disabled","UploadMaxFilesize":4,"PostMaxSize":8,"MaxExecutionTime":0,"MaxFileUploads":20,"lets_encrypt":false,"http2https":true,"Indexes":"disabled","status":"enabled"}'
... return_rc=True return_stdout=False
Should Be Equal As Integers ${rc} 0

Expand Down

0 comments on commit 20e9aec

Please sign in to comment.