summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2020-09-15Make itools PHP 8 compatibleChristian Schneider3-53/+55
2020-09-03comment out broken testNathan Gass1-2/+3
2020-09-03dont depend on order of resultsNathan Gass1-1/+1
2020-09-03handle postgresql implementation of mysql replaceNathan Gass1-1/+1
2020-09-03use WHERE TRUE in tests which is compatible with postgresqlNathan Gass1-4/+4
2020-09-03escape ID to avoid postgresql lowercasing itNathan Gass1-5/+5
2020-09-03make _set tests independent of exact sql syntaxNathan Gass1-13/+6
2020-09-03add options to run tests on postgressql, adapt create table statements to ↵Nathan Gass1-14/+31
used db, avoid dependency on specific table in db
2020-08-27test for automatic creation of table classesNathan Gass1-0/+1
2020-08-25test for unexpected optional positinal argumentsNathan Gass1-1/+9
2020-08-25also test for default valuesNathan Gass1-2/+3
2020-08-25more tests for arguments without value, also test failure modesNathan Gass1-4/+13
2020-08-25also test positional argsNathan Gass1-6/+7
2020-08-10vanilla php complianceUrban Müller1-3/+3
2020-08-05avoid forbidden fopen()Urban Müller1-0/+2
2020-08-04correctly retry in ::get_multi, do retry in status 5xx in ::getUrban Müller2-1/+28
2020-07-01Simplify test, was under the wrong assumption that is() uses == instead of ===Christian Schneider1-2/+2
2020-07-01Preserve type when writing int to dyncolsChristian Schneider1-0/+2
2020-06-26Leave _data unchanged by __read_postprocess as update() needs that and add ↵Christian Schneider1-4/+13
test for it
2020-06-24Add static and pure replacements _read_postprocess/_write_preprocess for ↵Christian Schneider1-0/+32
deprecated _read_post_process/_write_pre_process
2020-05-25test new sort featuresUrban Müller1-0/+5
2020-05-18Add 'assoc' => true mode to it_url::get() and prepare to mark function staticChristian Schneider1-19/+7
2020-04-21dbi: improve docs, enable LIMIT => falseUrban Müller1-0/+1
2020-04-21Add test for LIMIT with offset, add test descriptionsChristian Schneider1-2/+5
2020-04-21test for safe LIMITUrban Müller1-1/+1
2020-04-21support safe LIMITUrban Müller1-0/+5
2020-04-21use new array syntaxUrban Müller12-216/+216
2020-04-10Fix tests for new semantics of $it_dbi->delete_untouched()Christian Schneider1-5/+5
2020-01-23remove scheme from path when we have empty hostpart and empty schemepart; ↵David Flatz1-0/+12
this fixes 'a:javascript:alert(origin)'
2020-01-20Support all arguments of file_get_contents, including maxlenChristian Schneider1-5/+8
2019-10-17Fix ->is_reachable to use get() instead of fopen to use HTTP/1.1 and add testsChristian Schneider1-0/+5
2019-09-11add params2utf8 testsUrban Müller1-0/+13
2019-09-02Use older syntax for testsChristian Schneider1-1/+2
2019-09-02Make itools a bit stricter, new PHP versions start to enforce more declarationsChristian Schneider3-4/+5
2019-08-19PHP 7.4 built-in web server is more noisy, make it quiet againChristian Schneider1-1/+1
2019-05-13itjs::serialize() preserves data types (string, int, bool, null)Christian A. Weber1-15/+17
2019-05-13add test and fix for 204 http status codeNathan Gass2-0/+17
2019-04-02add test for get_multi handler returning trueNathan Gass1-0/+5
2019-03-12Normalize to FORM_C in any2utf8Christian Schneider1-0/+2
2019-03-01Revert "better name for http status variable" for nowUrban Müller1-5/+0
This reverts commit a648b594c6a96f050b99eb691c73b41f27d6890b.
2019-03-01better name for http status variableUrban Müller1-0/+5
2019-02-12Migrate old style constructors to __construct, temporary transition ↵Christian Schneider1-1/+1
functions for it_dbi (map, mapgen) and it_user (ad, login_user)
2019-01-18test assoc flagUrban Müller1-0/+3
2018-10-25don't do JSON_EXTRACT when we use SQL functions with dyncolsDavid Flatz1-0/+2
2018-10-15Extend test for bug fixed in 7.2.11Christian Schneider1-1/+3
2018-10-08improve tests and stylingDavid Flatz1-1/+2
2018-10-08handle setting a dyncol to null by removing the field in dyncolsDavid Flatz1-0/+8
2018-10-05fix addition of dynamic columns to record where dyncols is NULLDavid Flatz1-0/+5
2018-09-25syntax fixUrban Müller1-1/+1
2018-09-25use created class it_dbi_testUrban Müller1-6/+5