Fix File search with suffix not working + travis alignment

This commit is contained in:
buddh4 2017-08-29 21:51:49 +02:00
parent d105bd8c66
commit 75ce6d5683
4 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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) {

View File

@ -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');
}

View File

@ -44,7 +44,7 @@
),
'params' =>
array (
'config_created_at' => 1501606491,
'config_created_at' => 1504018611,
'horImageScrollOnMobile' => NULL,
),
); ?>