| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Bring back some basic automated testing for PHP7.1 and mysql via gitlab-ci.
See merge request hubzilla/core!1332
(cherry picked from commit c39de966df2ff28674697be77a527b2214afef42)
b77acb3e add gitlab-ci.yml and phpunit.xml
22275f30 fix dba_pdoTest
0db047e5 fix phpunit error with html2markdown test and temporary disable failing markdown…
|
| |
|
| |
|
|\
| |
| | |
:construction_worker:Extend Travis, add PostgreSQL10.
|
| |
| |
| |
| |
| |
| | |
Add PostgreSQL10 to TravisCI through Docker container.
Use PHP7.2 instead of PHP7.1 as default test environment.
Update to current stable MariaDB 10.2 from stable (GA) 10.1.
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Changed the default PHPUnit database environment variables to make it
little bit less likely to truncate accidently a real database.
|
|
|
|
| |
Prevent PHP warnings "Undefined variable" in dba_pdo::q();
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Improve Travis CI configuration a bit and add PHP7.2 to the test matrix.
Add PHPUnit Testdox output and optionally deploy test results on release tags.
Add a configuration file for infection (Mutation Testing Framework).
|
| |
|
|
|
|
|
|
| |
Some small improvements for coverage report.
Add more functions from include/text.php
Update composer dev libraries for phpunit.
|
|
|
|
|
| |
Update intl library from v0.4? (2014) to v0.7.4 (2016).
Use global composer autoloader now.
|
|
|
|
|
|
|
|
| |
Update from v0.3.0 (2012) to v1.0.0 (2017) which should remove some
warnings and improve PHP7 support.
Using composer to handle this PEAR library now.
Fix a problem in FeedutilsTest.
|
|
|
|
|
| |
Unfortunately not so much unit testable, but added in preparation to
update LanguageDetect and Intl library.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Use a Docker container to add MySQL 5.7 in TravisCI.
A lot of sql_mode settings have changed with 5.7, so finnaly provide it
to test against it.
|
|\| |
|
| |
| |
| |
| |
| |
| | |
A tiny refactoring to make HTML 2 markdown conversion testable.
Add some unit tests to check the behavior of the now used HTML2Markdown library.
There are some differences compared to the old pixel418/markdownify library.
|
|\| |
|
| |
| |
| |
| |
| | |
Also add some phpunit tests for this class, but there are some problems
yet with mocking static functions.
|
|/ |
|
|
|
|
|
| |
Fix a syntax error in schema_postres.sql which was discovered while
working on this.
|
|
|
|
| |
Also some Doxygen docu for this class.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
As a follow up to issue #699 update SimplePie from 1.2.1-dev (around
6years old) to current git master (1.4.4-dev). We use the master branch
until the next release because it contains our patch for enclosure
titles already. The other patches in the library from us can be done by
configuring the SimplePie object in our code instead.
Used composer to manage this library and use class autoloading.
Add some unit tests for include/feedutils.php, but the interesting parts
are unfortunately not testable with the current code.
|
| |
|
|
|
|
|
| |
Updated HTML Purifier from 4.6.0 to 4.9.2 with better PHP7 compatibility.
Used composer to manage this library.
|
|
|
|
|
| |
Add some generic HTML, JS, CSS expectations for purify_html().
Also cover our own configuration for HTMLPurifier.
|
|
|
|
|
|
| |
In preparation to update HTMLPurifier library add a unit test.
Please add more HTML that you need to have working and we can check
against regressions.
|
|
|
|
|
|
|
|
|
| |
Changed API documentation deployment to gh_pages to Travis's GitHub Pages
deployment.
Also add Travis GitHub Release Deployment step to offer API
documentation.
Both steps are optional and need to be activated in Travis by setting
GH_TOKEN.
|
|
|
|
|
|
|
| |
stable 6.
Update requirements to PHP7 for dev.
Add php-mock-phpunit to mock and stub global functions in a better way.
|
|
|
|
|
|
| |
The trusty distro contains MySQL 5.6. Add a precise distro with MySQL 5.5.
Unfortunately 5.7 is not yet provided, which would be interesting
because of the enabled strict SQL mode.
|
|
|
|
|
|
|
|
| |
Use newer distro for Travis CI runs.
New environment provides PostgreSQL9.6.
Also no need to install custom Doxygen, made it optional.
Changed default PHP environment from PHP7.0 to current PHP7.1.
Changed codecoverage reporting.
|
|
|
|
|
|
|
|
| |
Travis CI has Doxygen 1.7. We need 1.8 to generate our API
documentation. Get a static version and use it.
Always build API Documentation, but changed Doxygen configuration to
only print out errors in the documentation generation, so these can be
reviewed.
|
|
|
|
|
|
|
| |
Testing several Travis CI features.
Add DBs to travis execution matrix.
Doxygen API docu generation and deployment to gh-pages.
Update phpunit to 5.7.
|
|
|
|
|
|
| |
Not sure if this method is used anywhere, but it should not have worked
correctly. This should correct it.
Add a unit test for this class.
|
|
|
|
|
|
|
|
|
| |
Move unit tests to tests/unit/. Get the old still working UnitTests
into a working state again.
Updated composer.json with required-dev packages.
Create a new folder tests/acceptance for Behat functional/acceptance
testing. Add a first Feature draft of a Behat functional test for
local login.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|