@mattab opened this Issue on August 31st 2015 Owner
1) Warning

The data provider specified for Piwik\Tests\System\AutoSuggestAPITest::testApi is invalid.

Unknown database 'piwik_tests'

maybe someone has some idea?

@diosmosis commented on August 31st 2015 Member

The AutoSuggestAPITest requires the plugins to be loaded for the data provider, which requires the database to exist. Data providers are run before setUp/setUpBeforeClass. For some reason on MYSQLi, the database doesn't exist here, but on PDO it does... Not sure why, but the best fix would be to remove the need to have the database for the data provider.

@mattab commented on September 3rd 2015 Owner

fixed in #8703

This Issue was closed on September 3rd 2015
Powered by GitHub Issue Mirror