Skip to content

Commit 7216044

Browse files
committed
Infect
1 parent 329a429 commit 7216044

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/vendor
22
/composer.lock
33
tests/Serve/access.log
4+
infection-log.txt
5+
tests/Workspace

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ before_install:
1717
script:
1818
- ./vendor/bin/phpstan analyze --level=7 lib/
1919
- ./vendor/bin/phpunit
20+
- ./vendor/bin/infection

infection.json.dist

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"timeout": 2,
3+
"source": {
4+
"directories": [
5+
"lib"
6+
]
7+
},
8+
"logs": {
9+
"text": "infection-log.txt"
10+
}
11+
}

tests/Unit/Extension/Core/Stage/Sampler/CurlSamplerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function testConcurrentRequests()
103103
->run();
104104

105105
$requests = $this->requests();
106-
$this->assertGreaterThan(2, count($requests));
106+
$this->assertGreaterThanOrEqual(2, count($requests));
107107
}
108108

109109
private function requests(): array

0 commit comments

Comments
 (0)