Skip to content

Commit

Permalink
feat: Update vhost creation 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 873f476 commit 1eb01cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/webserver.robot
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Retrieve webserver backend URL
Check if webserver works as expected
Retry test Backend URL is reachable

Check if vhost can be configured
${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"}'
Check if vhost can be created
${rc} = Execute Command api-cli run module/${module_id}/create-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"}'
... return_rc=True return_stdout=False
Should Be Equal As Integers ${rc} 0

Expand Down

0 comments on commit 1eb01cb

Please sign in to comment.