https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19821 --- Comment #65 from Kyle M Hall <kyle@bywatersolutions.com> --- (In reply to Jonathan Druart from comment #63)
(In reply to Kyle M Hall from comment #62)
Jonathan, can we get a unified test plan for this patch set? I'm not sure if I'm testing wrong. Selenium tests pass in 'normal' mode, so I know it's not my Selenium container that's not problematic:
Hi Kyle,
The test plan provided by Victor is quite good.
If you want to "just it passes" you can:
1. $ mysql -h db -u root --password=password
GRANT ALL PRIVILEGES ON `koha_test`.* TO 'koha_kohadev';
2. # Edit $KOHA_CONF and add <database_test>koha_test</database_test>
3. $ prove -Mt::lib::Bootstrap t/db_dependent/selenium/00-installation.t
And the tests should pass. But the different steps described by Victor are useful to understand how it works.
$ prove -Mt::lib::Bootstrap t/db_dependent/selenium/00-installation.t DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(0x562c034c75a0)' at line 1 at /kohadevbox/koha/t/lib/Bootstrap.pm line 30. DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI connect('database=ARRAY(0x562c034c75a0);host=db;port=3306','koha_kohadev',...) failed: Access denied for user 'koha_kohadev'@'%' to database 'ARRAY(0x562c034c75a0)' at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1517. at /kohadevbox/koha/Koha/Database.pm line 116 END failed--call queue aborted. -- You are receiving this mail because: You are watching all bug changes.