Skip to content

Commit

Permalink
Merge pull request #6 from humhub/fix/tests
Browse files Browse the repository at this point in the history
Fix requirements for testing
  • Loading branch information
luke- authored Apr 3, 2024
2 parents 5c74b60 + 5cde4b0 commit 422d9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

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

Expand Down

0 comments on commit 422d9df

Please sign in to comment.