Skip to content

Commit

Permalink
Fallback again to running self-tests using source
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed Sep 18, 2024
1 parent 5b987d2 commit e096ba9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _tests/managed_tests/QITSelfTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function run_test_runs( array $test_runs, $tests_based_on_custom_tests ) {
foreach ( $test_runs as $test_type => &$test_type_test_runs ) {
foreach ( $test_type_test_runs as &$t ) {
$php = ( new PhpExecutableFinder() )->find( false );
$qit = realpath( __DIR__ . '/../../qit' );
$qit = realpath( __DIR__ . '/../../src/qit-cli.php' );
$sut_slug = $t['sut_slug'];

$args = [
Expand Down
2 changes: 1 addition & 1 deletion src/src/RequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public function request(): string {
);
} else {
throw new NetworkErrorException(
sprintf( 'Error: %s (%s)', $error_message, $response_status_code ),
sprintf( 'Error: %s (%s) (Requested URL: %s)', $error_message, $response_status_code, $this->url ),
$response_status_code
);
}
Expand Down

0 comments on commit e096ba9

Please sign in to comment.