Skip to content

Commit

Permalink
[THRIFT-5757] Unit tests for php lib
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir.panivko committed Mar 5, 2024
1 parent 734b319 commit 4294640
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/php/test/Unit/Lib/Transport/TPhpStreamTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ public function testOpen(

public function fopenDataProvider()
{
yield 'readCli' => [
'mode' => TPhpStream::MODE_R,
'sapiName' => 'cli',
'fopenParams' => [['php://stdin', 'r']],
'fopenResult' => [fopen('php://temp', 'r')],
'expectedException' => null,
'expectedExceptionMessage' => '',
'expectedExceptionCode' => 0,
];
// yield 'readCli' => [
// 'mode' => TPhpStream::MODE_R,
// 'sapiName' => 'cli',
// 'fopenParams' => [['php://stdin', 'r']],
// 'fopenResult' => [fopen('php://temp', 'r')],
// 'expectedException' => null,
// 'expectedExceptionMessage' => '',
// 'expectedExceptionCode' => 0,
// ];
yield 'readNotCli' => [
'mode' => TPhpStream::MODE_R,
'sapiName' => 'apache',
Expand Down

0 comments on commit 4294640

Please sign in to comment.