Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Feb 12, 2018
1 parent 204d548 commit e14212e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/Handler/Writer/DbSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
allow($resultSet)->toReceive('current')->andReturn(null);
allow(TableGateway::class)->toReceive('selectWith')->with($select)->andReturn($resultSet);

$actual = $this->writerHandler->isExists('file', 1, 'Undefined offset: 1', 'http://serverUrl/uri');
$actual = $this->writerHandler->isExists('file', 1, 'Undefined offset: 1', 'http://serverUrl/uri', 'E_NOTICE');
expect($actual)->toBe(false);

});
Expand Down Expand Up @@ -117,7 +117,7 @@
);
allow(TableGateway::class)->toReceive('selectWith')->with($select)->andReturn($resultSet);

$actual = $this->writerHandler->isExists('file', 1, 'Undefined offset: 1', 'http://serverUrl/uri');
$actual = $this->writerHandler->isExists('file', 1, 'Undefined offset: 1', 'http://serverUrl/uri', 'E_NOTICE');
expect($actual)->toBe(false);

});
Expand All @@ -143,7 +143,7 @@
);
allow(TableGateway::class)->toReceive('selectWith')->with($select)->andReturn($resultSet);

$actual = $this->writerHandler->isExists('file', 1, 'Undefined offset: 1', 'http://serverUrl/uri');
$actual = $this->writerHandler->isExists('file', 1, 'Undefined offset: 1', 'http://serverUrl/uri', 'E_NOTICE');
expect($actual)->toBe(true);

});
Expand Down

0 comments on commit e14212e

Please sign in to comment.