Skip to content

Commit 422d9df

Browse files
authored
Merge pull request #6 from humhub/fix/tests
Fix requirements for testing
2 parents 5c74b60 + 5cde4b0 commit 422d9df

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)