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

Commit 97fcb20

Browse files
fix the broken unit test, for realsies
1 parent e267086 commit 97fcb20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/AttributeInjectors/HostnameAttributeInjectorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ public function testGetAttributeKey()
1212
$injector = new HostnameAttributeInjector();
1313
$this->assertEquals('hostname', $injector->getAttributeKey());
1414

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

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

0 commit comments

Comments
 (0)