Skip to content

Commit

Permalink
update codeception to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
MartkCz committed Jan 20, 2021
1 parent 0ed0ebd commit 9658cb1
Show file tree
Hide file tree
Showing 6 changed files with 1,707 additions and 2,633 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"type": "library",
"desc": "Testing helpers for nette presenters and components",
"require-dev": {
"codeception/codeception": "~2.2",
"codeception/codeception": "~4.1",
"nette/application": "^3.0",
"nette/forms": "^3.0",
"latte/latte": "^2.9"
"latte/latte": "^2.9",
"codeception/module-asserts": "^1.3"
},
"require": {
"php": ">= 7.1"
Expand Down
4 changes: 2 additions & 2 deletions src/TUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ trait TUnitTest {
/** @var Services */
protected $services;

protected function setUp() {
protected function setUp(): void {
$this->services = new Services();

$parent = get_parent_class($this);
Expand Down Expand Up @@ -54,4 +54,4 @@ public function assertDomNotHas(DomQuery $domQuery, string $selector): void {
}
}

}
}
Loading

0 comments on commit 9658cb1

Please sign in to comment.