Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Sep 7, 2024
1 parent 37856cf commit 5d5867b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/EndToEnd/error.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ if ( file_exists( __DIR__ . '/../../vendor/autoload.php' ) === false ) {
print 'skip: Test can only be run in a Composer installed environment as otherwise there is no accces to the PHPUnit classes.';
}

// NOT WORKING: Make sure the Composer install is up to date for the PHP version on which the tests are being run.
try {

require_once __DIR__ . '/../../vendor/autoload.php';
} catch ( Exception $e ) {
print 'skip: Test can only be run in an up-to-date Composer installed environment. Version mismatch detected, please run `composer update`.';
}

--FILE--
<?php

Expand Down

0 comments on commit 5d5867b

Please sign in to comment.