Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 632fe7c

Browse files
fix bad test class name
1 parent 20d6145 commit 632fe7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/AttributeInjectors/HostnameAttributeInjector.php renamed to tests/AttributeInjectors/HostnameAttributeInjectorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
use PHPUnit\Framework\TestCase;
66
use Superbalist\EventPubSub\AttributeInjectors\HostnameAttributeInjector;
77

8-
class HostnameAttributeInjector extends TestCase
8+
class HostnameAttributeInjectorTest extends TestCase
99
{
1010
public function testGetAttributeKey()
1111
{
12-
$injector = new HostnameAttributeInjector();
12+
$injector = new HostnameAttributeInjectorTest();
1313
$this->assertEquals('hostname', $injector->getAttributeKey());
1414

15-
$injector = new HostnameAttributeInjector('custom_attribute');
15+
$injector = new HostnameAttributeInjectorTest('custom_attribute');
1616
$this->assertEquals('custom_attribute', $injector->getAttributeKey());
1717
}
1818

1919
public function testGetAttributeValue()
2020
{
21-
$injector = new HostnameAttributeInjector();
21+
$injector = new HostnameAttributeInjectorTest();
2222
$this->assertEquals(gethostname(), $injector->getAttributeValue());
2323
}
2424
}

0 commit comments

Comments
 (0)