Skip to content
Permalink
Browse files

Fixed tests.

  • Loading branch information...
corpsee committed Aug 7, 2019
1 parent a0bfedc commit 9adf1b1a08580655577d181d65131ffa71138b61
@@ -69,7 +69,7 @@ public function dataProvider()
* @param array $input
* @param array $expected
*/
public function testFormating(array $input, array $expected)
public function testFormatting(array $input, array $expected)
{
$pluginResult = new BitbucketNotifyPhpUnitResult($input[0], $input[1], $input[2]);
$this->assertEquals($expected['degraded'], $pluginResult->isDegraded());
@@ -69,13 +69,7 @@ public function dataProvider()
* @param array $input
* @param array $expected
*/
public function test__toString(array $input, array $expected)
{
$sut = new BitbucketNotifyPluginResult($input[0], $input[1], $input[2]);
$this->assertEquals($expected['string'], $sut->__toString());
}
public function testFormating(array $input, array $expected)
public function testFormatting(array $input, array $expected)
{
$pluginResult = new BitbucketNotifyPluginResult($input[0], $input[1], $input[2]);
$this->assertEquals($expected['degraded'], $pluginResult->isDegraded());

0 comments on commit 9adf1b1

Please sign in to comment.
You can’t perform that action at this time.