Skip to content

Commit c99b3cc

Browse files
committed
typo
1 parent 1d39b77 commit c99b3cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BaseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected function assertNotSameObject($a, $b)
2020

2121
protected function buildUri($uri)
2222
{
23-
if (!defined('URI_FACTORY')) {
23+
if (defined('URI_FACTORY')) {
2424
$factoryClass = URI_FACTORY;
2525
$factory = new $factoryClass();
2626
if (!$factory instanceof \Http\Message\UriFactory) {
@@ -47,7 +47,7 @@ protected function buildUri($uri)
4747

4848
protected function buildStream($data)
4949
{
50-
if (!defined('STREAM_FACTORY')) {
50+
if (defined('STREAM_FACTORY')) {
5151
$factoryClass = STREAM_FACTORY;
5252
$factory = new $factoryClass();
5353
if (!$factory instanceof \Http\Message\StreamFactory) {

0 commit comments

Comments
 (0)