ProductTest::testZeroProductWeightAndDimensions fails:

fail: [Other] Line 162 of modules/ubercart/uc_product/src/Tests/ProductTest.php:
Zero weight not shown.

fail: [Other] Line 163 of modules/ubercart/uc_product/src/Tests/ProductTest.php:
Zero dimensions not shown.

CommentFileSizeAuthor
#2 2625024-sqlite-cast.patch1.3 KBlongwave

Comments

longwave created an issue. See original summary.

longwave’s picture

Status: Active » Needs review
StatusFileSize
new1.3 KB
longwave’s picture

Status: Needs review » Fixed

  • longwave committed 9138abe on
    Issue #2625024 by longwave: Make tests pass on SQLite
    
tr’s picture

Nice. So the only way to debug these tests is to install SQLite/PostgreSQL locally? The new CI doesn't give us a whole lot of information.

longwave’s picture

Yes, as far as I know. SQLite is easy to use locally, you just need the PHP extension, and then you can specify a SQLite database if you use core/scripts/run-tests.sh. Postgres is somewhat more complicated which is why I haven't attempted that fix yet!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.