summaryrefslogtreecommitdiffhomepage
path: root/test/test_php_application.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-12-12 21:36:44 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2021-12-12 21:36:44 +0000
commit9bea8c452ffea1d9ff78a1bc3ce5c4d2f0d6b95f (patch)
tree17be138c1c40cbbc9be3726a3d35b0a114b94b0d /test/test_php_application.py
parent4b3efcea0dfcc842fb1a0f62b610652323844d35 (diff)
downloadunit-9bea8c452ffea1d9ff78a1bc3ce5c4d2f0d6b95f.tar.gz
unit-9bea8c452ffea1d9ff78a1bc3ce5c4d2f0d6b95f.tar.bz2
Tests: fixed type of applications.
Diffstat (limited to '')
-rw-r--r--test/test_php_application.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_php_application.py b/test/test_php_application.py
index 97bb9437..e6540318 100644
--- a/test/test_php_application.py
+++ b/test/test_php_application.py
@@ -600,7 +600,7 @@ opcache.preload_user = %(user)s
"listeners": {"*:7080": {"pass": "applications/script"}},
"applications": {
"script": {
- "type": "php",
+ "type": self.get_application_type(),
"processes": {"spare": 0},
"root": option.test_dir + "/php/script",
"script": "phpinfo.php",
@@ -620,7 +620,7 @@ opcache.preload_user = %(user)s
"listeners": {"*:7080": {"pass": "applications/phpinfo"}},
"applications": {
"phpinfo": {
- "type": "php",
+ "type": self.get_application_type(),
"processes": {"spare": 0},
"root": option.test_dir + "/php/phpinfo",
}
@@ -647,7 +647,7 @@ opcache.preload_user = %(user)s
"listeners": {"*:7080": {"pass": "applications/phpinfo"}},
"applications": {
"phpinfo": {
- "type": "php",
+ "type": self.get_application_type(),
"processes": {"spare": 0},
"root": new_root,
"working_directory": new_root,