diff --git a/tests/PHPUnit/CustomTestCase/UsesPerDirectoryAsPattern.php b/tests/PHPUnit/CustomTestCase/UsesPerDirectoryAsPattern.php new file mode 100644 index 00000000..5e8546f4 --- /dev/null +++ b/tests/PHPUnit/CustomTestCase/UsesPerDirectoryAsPattern.php @@ -0,0 +1,7 @@ +in('../*/'); + +test('closure was bound to CustomTestCase', function () { + $this->assertCustomTrue(); +}); diff --git a/tests/PHPUnit/CustomTestCase/UsesPerFileAsPattern.php b/tests/PHPUnit/CustomTestCase/UsesPerFileAsPattern.php new file mode 100644 index 00000000..fb47d2d4 --- /dev/null +++ b/tests/PHPUnit/CustomTestCase/UsesPerFileAsPattern.php @@ -0,0 +1,7 @@ +in('*.php'); + +test('closure was bound to CustomTestCase', function () { + $this->assertCustomTrue(); +});