Skip to content

Commit 28b22ca

Browse files
committed
Added php 7.4 in travis and fixed optional parameter test
1 parent 1f6e61c commit 28b22ca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ matrix:
55
include:
66
- php: "7.2"
77
- php: "7.3"
8+
- php: "7.4"
89
allow_failures:
910
- php: nightly
1011

tests/MatomoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function testOptionalParameters()
215215
]);
216216

217217
$this->assertIsArray($result);
218-
$this->assertEquals(1198, $result[0]->nb_visits);
218+
$this->assertEquals(1446, $result[0]->nb_visits);
219219
}
220220

221221
/**

0 commit comments

Comments
 (0)