Ticket #35 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

update test fails

Reported by: bob Owned by: dom
Priority: major Milestone:
Component: wiki-toolkit Version: svn
Keywords: Cc:

Description

t/400_upgrade..........................NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pk_id" for table "node" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pk_node_id" for table "content" DBI connect('dbname=wikitoolkittest;dbhost=localhost','bob',...) failed: invalid connection option "dbhost"

at t/400_upgrade.t line 72

Can't call method "do" on an undefined value at t/400_upgrade.t line 75. # Looks like your test died before it could output anything. t/400_upgrade..........................dubious

Test returned status 255 (wstat 65280, 0xff00)

DIED. FAILED tests 1-16

Failed 16/16 tests, 0.00% okay

Failed Test Stat Wstat Total Fail List of Failed


t/400_upgrade.t 255 65280 16 32 1-16

Change History

Changed 4 years ago by bob

  • summary changed from failign test to update test fails

Changed 4 years ago by kake

I think this is because postgres uses "host" instead of "dbhost" in the DSN - I think we should be using the ->_dsn method in the relevant W::T::Store::(database) module here instead. Am looking at it.

Changed 4 years ago by kake

  • status changed from new to closed
  • resolution set to fixed

(In [448]) Use ->_dsn method in test 400 instead of rolling our own (probably fixes #35).

Note: See TracTickets for help on using tickets.