Skip to content

Commit 7fbce88

Browse files
committed
tests: some test renamed
1 parent 44e5458 commit 7fbce88

12 files changed

+5
-5
lines changed
File renamed without changes.

tests/PhpGenerator/reflection.phpt renamed to tests/PhpGenerator/ClassType.from.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ $res[] = ClassType::from('Abc\Interface2');
7373
$res[] = ClassType::from('Abc\Class1');
7474
$res[] = ClassType::from(new ReflectionClass('Abc\Class2'));
7575

76-
Assert::match(file_get_contents(__DIR__ . '/reflection.expect'), implode("\n", $res));
76+
Assert::match(file_get_contents(__DIR__ . '/ClassType.from.expect'), implode("\n", $res));

tests/PhpGenerator/reflection.trait.phpt renamed to tests/PhpGenerator/ClassType.from.trait.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ $res[] = ClassType::from(new ReflectionClass('Trait2'));
4545
$res[] = ClassType::from(new ReflectionClass('Class1'));
4646
$res[] = ClassType::from(new ReflectionClass('Class2'));
4747

48-
Assert::match(file_get_contents(__DIR__ . '/reflection.trait.expect'), implode("\n", $res));
48+
Assert::match(file_get_contents(__DIR__ . '/ClassType.from.trait.expect'), implode("\n", $res));

tests/PhpGenerator/interface.phpt renamed to tests/PhpGenerator/ClassType.interface.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ $interface
2424

2525
$interface->addMethod('getForm');
2626

27-
Assert::match(file_get_contents(__DIR__ . '/interface.expect'), (string) $interface);
27+
Assert::match(file_get_contents(__DIR__ . '/ClassType.interface.expect'), (string) $interface);

tests/PhpGenerator/class.phpt renamed to tests/PhpGenerator/ClassType.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ $method->addParameter('res', NULL)
6464
->setReference(TRUE)
6565
->setTypeHint('array');
6666

67-
Assert::match(file_get_contents(__DIR__ . '/class.expect'), (string) $class);
67+
Assert::match(file_get_contents(__DIR__ . '/ClassType.expect'), (string) $class);
File renamed without changes.

0 commit comments

Comments
 (0)