diff --git a/.travis.yml b/.travis.yml index d23839b315..00f203e661 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,7 @@ script: - curl http://127.0.0.1:8080/index-test.php - | cd protected/humhub/tests/ - codecept run + codecept run -d after_failure: - cd ../modules/user/tests/codeception/_output/ - ls diff --git a/protected/humhub/modules/search/engine/ZendLuceneSearch.php b/protected/humhub/modules/search/engine/ZendLuceneSearch.php index b710d00cc1..fdc19759cf 100644 --- a/protected/humhub/modules/search/engine/ZendLuceneSearch.php +++ b/protected/humhub/modules/search/engine/ZendLuceneSearch.php @@ -109,7 +109,7 @@ class ZendLuceneSearch extends Search $options = $this->setDefaultFindOptions($options); $index = $this->getIndex(); - $keyword = str_replace(array('*', '?', '_', '$', '-'), ' ', mb_strtolower($keyword, 'utf-8')); + $keyword = str_replace(array('*', '?', '_', '$', '-', '.'), ' ', mb_strtolower($keyword, 'utf-8')); $query = $this->buildQuery($keyword, $options); if ($query === null) { diff --git a/protected/humhub/modules/user/tests/codeception/functional/RegistrationCest.php b/protected/humhub/modules/user/tests/codeception/functional/RegistrationCest.php index 49fbf6163a..36a68a62d6 100644 --- a/protected/humhub/modules/user/tests/codeception/functional/RegistrationCest.php +++ b/protected/humhub/modules/user/tests/codeception/functional/RegistrationCest.php @@ -28,6 +28,7 @@ class RegistrationCest Yii::$app->getModule('user')->settings->set('auth.needApproval', false); LoginPage::openBy($I); + $I->see('Sign up'); $I->fillField('#register-email', 'wronEmail'); $I->click('.btn-primary', '#invite-form'); @@ -55,7 +56,7 @@ class RegistrationCest $I->fillField('#profile-lastname', 'User'); $I->click('.btn-primary', '#create-account-form'); - $I->seeInCurrentUrl('dashboard'); + $I->seeElement('#wallStream'); } diff --git a/protected/humhub/tests/codeception/config/dynamic.php b/protected/humhub/tests/codeception/config/dynamic.php index e74000868e..ae2cc8ce4a 100644 --- a/protected/humhub/tests/codeception/config/dynamic.php +++ b/protected/humhub/tests/codeception/config/dynamic.php @@ -44,7 +44,7 @@ ), 'params' => array ( - 'config_created_at' => 1501606491, + 'config_created_at' => 1504018611, 'horImageScrollOnMobile' => NULL, ), ); ?> \ No newline at end of file