Commit Graph

15 Commits

Author SHA1 Message Date
Walt Sorensen
f76f0cff6c Test against the current hhvm version (#12971)
* Test against the current hhvm version

This provides the current HHVM version (3.15.2 as of this PR) and will track with each release (i.e. will be 3.16 when 3.16 is released.

If testing against HHVM LST versions is desired follow this guide. https://docs.travis-ci.com/user/languages/php#HHVM-versions

Should be able to change to container based Trusty after Q1-17 https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/

* Try to create travis user for trusty hhvm and grant permissions

remove conditionals for apc and memcache

* more tweaks to grant privileges

* try 127.0.0.1 rather than localhost

* grant after db create

* try a different create user grant privileges form

* try to specify postgresql: "9.3" for hhvm

* need to look more into specifying postgresql: "9.3"

hhvm issues

* addon with no dash postgresql: "9.3"

* requested change && not ||

* redis-server isn't needed here

* Apply @cebe's patch for pgsql test failure

* Update .travis.yml

* Update CommandTest.php

* Update CommandTest.php

* Update CommandTest.php

try to fix hhvm tests

* Update CommandTest.php
2016-11-15 16:50:41 +01:00
Robert Korulczyk
104712103b Fixes #11693: Handle QueryBuilder::batchInsert() calls with no data to insert. (#11812) 2016-06-25 15:51:09 +03:00
Carsten Brandt
8ba032d147 refactored database tests
- changed test class naming for easier copying and searching of classes
- made base tests abstract and made MySQL an equal citisen in the test
  hierarchie
- added missing db specific test classes
2016-06-20 19:26:43 +02:00
Alexander Makarov
c36e679519 MSSQL doesn't have SUBSTR and isn't able to use expressions in ORDER BY and GROUP BY 2016-01-31 01:01:40 +03:00
Carsten Brandt
5a462dc5d2 added tests and documentation for #8824 2016-01-27 16:26:43 +01:00
Alexander Makarov
615a29f04e More fixes for MSSQL tests 2015-12-09 03:07:32 +03:00
Edgard Lorraine Messias
7c9b7c77a7 Added tests for dropTable, truncateTable and renameTable 2015-11-20 16:16:44 +03:00
SilverFire - Dmitry Naumenko
58119c5b11 Fixed testCreateTable, testAlterTable now quotes table name 2015-11-19 00:17:16 +02:00
Alexander Makarov
310f9152e1 Fixes #9268: Improved display of boolean parameters in logged SQL queries 2015-08-01 00:30:16 +03:00
Carsten Brandt
879911810f added test for createTable and alterTable
test for issue #8627
close #8628
2015-06-08 20:40:24 +02:00
Klimov Paul
72f9e63e10 Table schema auto refreshing on DDL added to yii\db\Command 2015-06-04 13:53:11 +03:00
Klimov Paul
0d48f1041e Fixed yii\db\Command::getRawSql() unable to parse params specified without colon (':') 2015-06-02 13:45:28 +03:00
Carsten Brandt
aa5887fec7 added missing use statement to fix #8572
- added unit tests for timestamp behavior and insert with expression
- fixed issue #8572

close #8596
2015-05-29 01:37:47 +02:00
John Was
94acb2e126 add unit tests to check lastInsertId 2015-05-16 11:47:31 +02:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00