? ? Pending

User tests: Successful: Unsuccessful:

avatar csthomas
csthomas
2 Aug 2018

Pull Request for Issue #20114

Summary of Changes

Check PostgreSQL version before compare query results.
The same as in joomla-framework/database#125

Testing Instructions

Merge by code review.

Expected result

Unit tests on PostgreSQL 10 should pass.

Actual result

Unit tests cause an error on PostgreSQL >= 10:

1) JDatabaseDriverPostgresqlTest::testGetTableSequences
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
         'column' => 'id'
-        'data_type' => 'bigint'
+        'data_type' => 'integer'
         'start_value' => '1'
         'minimum_value' => '1'
-        'maximum_value' => '9223372036854775807'
+        'maximum_value' => '2147483647'
         'increment' => '1'
         'cycle_option' => 'NO'
     )
 )

Documentation Changes Required

No

avatar csthomas csthomas - open - 2 Aug 2018
avatar csthomas csthomas - change - 2 Aug 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Aug 2018
Category Unit Tests
avatar brianteeman
brianteeman - comment - 2 Aug 2018

Now that unit tests have been moved.to their own repo is this the right place?

avatar mbabker
mbabker - comment - 2 Aug 2018

All the 3.x tests are still in this repo. It's only 4.0 that the tests live in one of ~45 repositories (between the ones for the CMS and the Framework packages).

avatar wilsonge
wilsonge - comment - 6 Aug 2018

Unit tests still pass in travis and given this only affects unit tests merging this on review

avatar wilsonge wilsonge - change - 6 Aug 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-08-06 09:34:58
Closed_By wilsonge
Labels Added: ? ?
avatar wilsonge wilsonge - close - 6 Aug 2018
avatar wilsonge wilsonge - merge - 6 Aug 2018

Add a Comment

Login with GitHub to post a comment