From 078535a11d69e274f28eb256ce4d9d8408bec58b Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 29 Aug 2019 13:09:39 -0400 Subject: [PATCH] Fixing unit tests --- .travis.yml | 2 +- tests/Psecio/Versionscan/CheckFormatTest.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 306cbd2..36d5593 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,5 @@ before_script: - wget http://getcomposer.org/composer.phar - php composer.phar install --dev php: - - 5.3 + - 5.4 script: phpunit \ No newline at end of file diff --git a/tests/Psecio/Versionscan/CheckFormatTest.php b/tests/Psecio/Versionscan/CheckFormatTest.php index 9293583..dbb4afd 100644 --- a/tests/Psecio/Versionscan/CheckFormatTest.php +++ b/tests/Psecio/Versionscan/CheckFormatTest.php @@ -14,8 +14,9 @@ protected function setUp() public function testEverythingIsUnderTheChecksKey() { - $this->assertCount(1, $this->checks); + $this->assertCount(2, $this->checks); $this->assertArrayHasKey('checks', $this->checks); + $this->assertArrayHasKey('updatedAt', $this->checks); } public function testStructureOfEachEntry()