Tests: fix ajax test failure; add to header instead of replace

This commit is contained in:
Timmy Willison 2018-11-26 12:46:58 -05:00
parent e0d9411569
commit b8195fb94c
No known key found for this signature in database
GPG Key ID: 6DCFDB0E8CC4EDF4

View File

@ -115,7 +115,7 @@ ok( true, "mock executed");';
header( 'Empty-Header: ' ); header( 'Empty-Header: ' );
header( 'Sample-Header2: Hello World 2' ); header( 'Sample-Header2: Hello World 2' );
header( 'List-Header: Item 1' ); header( 'List-Header: Item 1' );
header( 'list-header: Item 2' ); header( 'list-header: Item 2', FALSE );
header( 'constructor: prototype collision (constructor)' ); header( 'constructor: prototype collision (constructor)' );
foreach ( explode( '|' , $req->query[ 'keys' ] ) as $key ) { foreach ( explode( '|' , $req->query[ 'keys' ] ) as $key ) {