Skip to content

Commit 8221ca2

Browse files
author
Designcise
committed
Updated tests to reflect changes in BitFrame v1.1.1
1 parent fd5e4a6 commit 8221ca2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "designcise/bitframe-fastroute",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"type": "library",
55
"description": "FastRoute router middleware for BitFrame microframework",
66
"license": "MIT",
@@ -12,7 +12,7 @@
1212
],
1313
"require": {
1414
"php": ">=7.1.0",
15-
"designcise/bitframe": "^1.0.0",
15+
"designcise/bitframe": "^1.0",
1616
"psr/http-server-middleware": "~1.0",
1717
"nikic/fast-route": "^1.3"
1818
},

test/FastRouteRouterTest.php

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @author Daniyal Hamid
77
* @copyright Copyright (c) 2017-2018 Daniyal Hamid (https://designcise.com)
88
*
9-
* @license https://github.com/designcise/bitframe/blob/master/LICENSE.md MIT License
9+
* @license https://github.com/designcise/bitframe-fastroute/blob/master/LICENSE.md MIT License
1010
*/
1111

1212
namespace BitFrame\Test;
@@ -32,7 +32,7 @@ class FastRouteRouterTest extends TestCase
3232

3333
public function setUp()
3434
{
35-
$this->request = HttpMessageFactory::createServerRequestFromArray();
35+
$this->request = HttpMessageFactory::createServerRequestFromArray($_SERVER);
3636
$this->router = new \BitFrame\Router\FastRouteRouter();
3737
}
3838

0 commit comments

Comments
 (0)