Skip to content

Commit 5cde4b0

Browse files
committed
Fix requirements for testing
1 parent 5c74b60 commit 5cde4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requirements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
if (!Yii::$app->urlManager->enablePrettyUrl) {
3+
if (!Yii::$app->urlManager->enablePrettyUrl && !(defined('YII_ENV_TEST') && YII_ENV_TEST)) {
44
return 'Please enable URL Rewriting: https://docs.humhub.org/docs/admin/installation/#pretty-urls';
55
}
66

0 commit comments

Comments
 (0)