Skip to content

Tests get skipped on Windows because of getenv() #767

@xPaw

Description

@xPaw

if ('pdo-pgsql' === getenv('DBA_REFLECTOR')) {
self::markTestSkipped('query plan analyzer is not yet implemented for pgsql');
}
if (ReflectorFactory::MODE_RECORDING !== getenv('DBA_MODE')) {
self::markTestSkipped('query plan analyzer requires a active database connection');
}

getenv() doesn't return anything, but $_ENV does. Whatever the dotenv package is doing, is not enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions