43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
|
name: ResponseFunctionalTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: ExecutableFinder
|
||
|
type: class
|
||
|
source: Symfony\Component\Process\ExecutableFinder
|
||
|
- name: Process
|
||
|
type: class
|
||
|
source: Symfony\Component\Process\Process
|
||
|
properties:
|
||
|
- name: server
|
||
|
visibility: private
|
||
|
comment: '# @var resource|false'
|
||
|
methods:
|
||
|
- name: testCookie
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: fixture
|
||
|
comment: "# @var resource|false */\n# private static $server;\n# \n# public static\
|
||
|
\ function setUpBeforeClass(): void\n# {\n# $spec = [\n# 1 => ['file', '/dev/null',\
|
||
|
\ 'w'],\n# 2 => ['file', '/dev/null', 'w'],\n# ];\n# if (!self::$server = @proc_open('exec\
|
||
|
\ '.\\PHP_BINARY.' -S localhost:8054', $spec, $pipes, __DIR__.'/Fixtures/response-functional'))\
|
||
|
\ {\n# self::markTestSkipped('PHP server unable to start.');\n# }\n# sleep(1);\n\
|
||
|
# }\n# \n# public static function tearDownAfterClass(): void\n# {\n# if (self::$server)\
|
||
|
\ {\n# proc_terminate(self::$server);\n# proc_close(self::$server);\n# }\n# }\n\
|
||
|
# \n# /**\n# * @dataProvider provideCookie"
|
||
|
- name: provideCookie
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testInformationalResponse
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @group integration'
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\Process\ExecutableFinder
|
||
|
- Symfony\Component\Process\Process
|
||
|
interfaces: []
|