Skip to content
Netgen Layouts & eZ Platform integration
PHP HTML Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bundle
lib
tests
.editorconfig
.eslintrc.json
.gitattributes
.gitignore
.php_cs
.sass-lint.yml
.travis.yml
INSTALL.md
LICENSE
README.md
babel.config.js
composer.json
package.json
phpstan.neon
phpstan.tests.neon
phpunit.xml
psalm.xml
webpack.config.js

README.md

Netgen Layouts & eZ Platform integration

Installation instructions

INSTALL.md

Running tests

Running tests requires that you have complete vendors installed, so run composer install before running the tests.

You can run unit tests by simply calling vendor/bin/phpunit from the repo root. This will use an in memory SQLite database.

You can also run unit tests on a real database. After you create the database, run the tests with:

$ DATABASE=mysql://root@localhost/nglayouts vendor/bin/phpunit

where mysql://root@localhost/nglayouts is a DSN to your MySQL database.

If you use PostgreSQL, you can use the following command:

$ DATABASE=pgsql://user:pass@localhost/nglayouts vendor/bin/phpunit
You can’t perform that action at this time.