Skip to content

Commit cd108db

Browse files
committed
Also include a new test for the fix.
1 parent b90d9c7 commit cd108db

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/Util/UnitTest.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,21 @@ public function testGetUnitWithStringAsUnit()
9696
$this->assertSame("Hey! I'm cmfcmf", $this->unit->getUnit());
9797
}
9898

99-
public function testCelsiusFixture()
99+
public function testCelsiusFix()
100100
{
101101
$this->givenThereIsAUnitWithUnit("celsius");
102102

103103
$this->assertSame("°C", $this->unit->getUnit());
104104
}
105105

106-
public function testFahrenheitFixture()
106+
public function testMetricFix()
107+
{
108+
$this->givenThereIsAUnitWithUnit("metric");
109+
110+
$this->assertSame("°C", $this->unit->getUnit());
111+
}
112+
113+
public function testFahrenheitFix()
107114
{
108115
$this->givenThereIsAUnitWithUnit("fahrenheit");
109116

0 commit comments

Comments
 (0)