Skip to content

Commit 8871ab2

Browse files
committed
Rename the file used for test bootstrapping
1 parent 8147601 commit 8871ab2

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<phpunit bootstrap="src/ASTConverter/Bootstrap.php">
1+
<phpunit bootstrap="tests/Bootstrap.php">
22
<testsuites>
33
<testsuite name="ConverterTests">
44
<directory>tests</directory>

src/ASTConverter/Bootstrap.php renamed to tests/Bootstrap.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<?php declare(strict_types=1);
22

3-
// Listen for all errors
4-
error_reporting(E_ALL);
5-
6-
// Add the root to the include path
7-
define('CLASS_DIR', __DIR__ . '/../');
8-
set_include_path(get_include_path().PATH_SEPARATOR.CLASS_DIR);
9-
103
// Use the composer autoloader
114
foreach ([
125
__DIR__.'/../../vendor/autoload.php', // autoloader is in this project

0 commit comments

Comments
 (0)