first commit
This commit is contained in:
16
modules/inpostshipping/vendor/guzzlehttp/streams/tests/Exception/SeekExceptionTest.php
vendored
Normal file
16
modules/inpostshipping/vendor/guzzlehttp/streams/tests/Exception/SeekExceptionTest.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
namespace GuzzleHttp\Tests\Stream\Exception;
|
||||
|
||||
use GuzzleHttp\Stream\Exception\SeekException;
|
||||
use GuzzleHttp\Stream\Stream;
|
||||
|
||||
class SeekExceptionTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testHasStream()
|
||||
{
|
||||
$s = Stream::factory('foo');
|
||||
$e = new SeekException($s, 10);
|
||||
$this->assertSame($s, $e->getStream());
|
||||
$this->assertContains('10', $e->getMessage());
|
||||
}
|
||||
}
|
||||
11
modules/inpostshipping/vendor/guzzlehttp/streams/tests/Exception/index.php
vendored
Normal file
11
modules/inpostshipping/vendor/guzzlehttp/streams/tests/Exception/index.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
Reference in New Issue
Block a user