mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Fix File search with suffix not working + travis alignment
This commit is contained in:
parent
d105bd8c66
commit
75ce6d5683
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -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');
|
||||
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
),
|
||||
'params' =>
|
||||
array (
|
||||
'config_created_at' => 1501606491,
|
||||
'config_created_at' => 1504018611,
|
||||
'horImageScrollOnMobile' => NULL,
|
||||
),
|
||||
); ?>
|
Loading…
x
Reference in New Issue
Block a user