https://bugzilla.wikimedia.org/show_bug.cgi?id=43571
Web browser: ---
Bug ID: 43571
Summary: mysql datbase views prevent junit test to start
Product: MediaWiki
Version: 1.21-git
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: Unprioritized
Component: Unit tests
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
I have created some views in my mysql database. This has the effect that the
phpunitests don't start. If I delete the views everything works fine.
Maybe the views can be ignored?
I get the following output for the view viewname:
tests/phpunit$ php phpunit.php
PHPUnit 3.6.10 by Sebastian Bergmann.
Configuration read from /tests/phpunit/suite.xml
A database error has occurred. Did you forget to run maintenance/update.php
after upgrading? See:
https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: CREATE TEMPORARY TABLE `unittest_viewname` (LIKE `viewname`)
Function: DatabaseMysql::duplicateTableStructure
Error: 1347 'db.viewname' is not BASE TABLE (localhost)
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l