Skip to content

Commit

Permalink
updating packages & testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SignpostMarv committed Aug 26, 2019
1 parent 3e027c5 commit ec60f42
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 86 deletions.
7 changes: 6 additions & 1 deletion Tests/CatchingHttpHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,12 @@ public function testCachingHttpHandler(
$response = $framework->handle($request);

static::assertSame($expectedStatus, $response->getStatusCode());
static::assertRegExp($expectedContentRegex, $response->getContent());

$response_content = $response->getContent();

static::assertIsString($response_content);

static::assertRegExp($expectedContentRegex, $response_content);
}

/**
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "3.x-dev"
}
},
"conflict": {
Expand All @@ -55,8 +55,8 @@
"php": "^7.3",
"filp/whoops": "^2.5",
"psr/log": "^1.1",
"signpostmarv/daft-framework": "dev-typed-object-args",
"signpostmarv/daft-router": "dev-typed-object-args",
"signpostmarv/daft-framework": "^3.0",
"signpostmarv/daft-router": "^4.0",
"symfony/http-foundation": "^4.3"
},
"require-dev": {
Expand Down
Loading

0 comments on commit ec60f42

Please sign in to comment.