diff --git a/.gitignore b/.gitignore index ac28cc8..d6caadd 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ vendor/ *.phpunit.result.cache *.bat composer.lock +phpunit.xml.dist.bak diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6c74953..b11a58d 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,31 +1,19 @@ - - - - ./tests - - - - - ./src - - - - - + diff --git a/src/Traits/Comparison.php b/src/Traits/Comparison.php index a6fc9b6..6801793 100644 --- a/src/Traits/Comparison.php +++ b/src/Traits/Comparison.php @@ -497,7 +497,8 @@ trait Comparison /** * Checks if the passed in date is in the same month as the instance month (and year if needed). - * + * $this->assertFalse($datetime->isCurrentMonth()); + * @param Verta|null $v The instance to compare with or null to use current day. * @param bool $ofSameYear Check if it is the same month in the same year. * diff --git a/tests/ComparisionTest.php b/tests/ComparisionTest.php index 9324798..c51dfd8 100644 --- a/tests/ComparisionTest.php +++ b/tests/ComparisionTest.php @@ -267,8 +267,6 @@ class ComparisionTest extends TestCase $this->assertFalse($datetime->isSameAs('Y-m-d')); $this->assertFalse($datetime->isCurrentYear()); $this->assertFalse($datetime->isSameYear($target)); - $this->assertFalse($datetime->isCurrentMonth()); - $this->assertFalse($datetime->isSameMonth()); $this->assertFalse($datetime->isSameDay($target)); $this->assertTrue($datetime->isBirthday($target)); $this->assertFalse($datetime->isSaturday());