Skip tests based on phpunit constant values

This small change takes care of disabling the MySQL/PostgreSQL adapter tests if their constant is set to false in the phpunit configuration.