File: ResponseTest.php

package info (click to toggle)
php-http-psr7-integration-tests 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 452 kB
  • sloc: php: 1,593; makefile: 19
file content (24 lines) | stat: -rw-r--r-- 487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

namespace Http\Psr7Test\Tests\Guzzle;

use GuzzleHttp\Psr7\Response;
use Http\Psr7Test\ResponseIntegrationTest;

class ResponseTest extends ResponseIntegrationTest
{
    public function createSubject()
    {
        return new Response();
    }

    public static function getInvalidHeaderArguments()
    {
        $testCases = parent::getInvalidHeaderArguments();

        // Guzzle accepts false as value for BC
        unset($testCases[3]);

        return $testCases;
    }
}