Skip to content

Commit 9b101f5

Browse files
committed
fix: wrong withCacheTtl test file name
1 parent 225953b commit 9b101f5

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace ProgrammatorDev\OpenWeatherMap\Test;
44

5-
class WithCacheTtl extends AbstractTest
5+
class WithCacheTtlTest extends AbstractTest
66
{
77
public function testWithCacheTtl()
88
{
@@ -11,9 +11,4 @@ public function testWithCacheTtl()
1111
$this->givenApi()->weather->withCacheTtl(60 * 60)->getCacheTtl()
1212
);
1313
}
14-
15-
public function testWithCacheTtlGetCacheTtl()
16-
{
17-
$this->assertSame(60 * 10, $this->givenApi()->weather->getCacheTtl());
18-
}
1914
}

tests/WithLanguageTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,4 @@ public function testWithLanguageWithInvalidValue(string $language, string $expec
2121
$this->expectException($expectedException);
2222
$this->givenApi()->weather->withLanguage($language);
2323
}
24-
25-
public function testWithLanguageGetLanguage()
26-
{
27-
$this->assertSame('en', $this->givenApi()->weather->getLanguage());
28-
}
2924
}

tests/WithUnitSystemTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,4 @@ public function testWithUnitSystemWithInvalidValue(string $unitSystem, string $e
2121
$this->expectException($expectedException);
2222
$this->givenApi()->weather->withUnitSystem($unitSystem);
2323
}
24-
25-
public function testWithUnitSystemGetUnitSystem()
26-
{
27-
$this->assertSame('metric', $this->givenApi()->weather->getUnitSystem());
28-
}
2924
}

0 commit comments

Comments
 (0)