|
|
@ -2,7 +2,7 @@ |
|
|
|
# |
|
|
|
# |
|
|
|
# Setup test environment: |
|
|
|
# Setup test environment: |
|
|
|
# - initialize test database source: |
|
|
|
# - initialize test database source: |
|
|
|
# mysql -D yii2test -u test < /path/to/yii/tests/unit/data/sphinx/source.sql |
|
|
|
# mysql -D yiitest -u test < /path/to/yii/tests/unit/data/sphinx/source.sql |
|
|
|
# - setup test Sphinx indexes: |
|
|
|
# - setup test Sphinx indexes: |
|
|
|
# indexer --config /path/to/yii/tests/unit/data/sphinx/sphinx.conf --all [--rotate] |
|
|
|
# indexer --config /path/to/yii/tests/unit/data/sphinx/sphinx.conf --all [--rotate] |
|
|
|
# - run the "searchd" daemon: |
|
|
|
# - run the "searchd" daemon: |
|
|
@ -39,7 +39,7 @@ source yii2_test_item_src |
|
|
|
sql_host = localhost |
|
|
|
sql_host = localhost |
|
|
|
sql_user = travis |
|
|
|
sql_user = travis |
|
|
|
sql_pass = |
|
|
|
sql_pass = |
|
|
|
sql_db = yii2test |
|
|
|
sql_db = yiitest |
|
|
|
sql_port = 3306 # optional, default is 3306 |
|
|
|
sql_port = 3306 # optional, default is 3306 |
|
|
|
|
|
|
|
|
|
|
|
sql_query = \ |
|
|
|
sql_query = \ |
|
|
|