netgen/layouts-ezplatform

Netgen Layouts & eZ Platform integration

Installs: 35 074

Dependents: 4

Suggesters: 0

Security: 0

Stars: 14

Watchers: 7

Forks: 2

Open Issues: 0

Type:symfony-bundle

1.4.10 2023-12-08 17:02 UTC

README

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