diff --git a/tests/003-uv_write_different-callbacks.phpt b/tests/003-uv_write_different-callbacks.phpt index 79c4fb7..7ebd5d1 100644 --- a/tests/003-uv_write_different-callbacks.phpt +++ b/tests/003-uv_write_different-callbacks.phpt @@ -5,7 +5,7 @@ Check for uv_write multiple call with different callbacks $loop = uv_loop_new(); $handler = uv_pipe_init($loop, false); -uv_pipe_open($handler, (int) STDIN); +uv_pipe_open($handler, (int) STDOUT); uv_write($handler, 'A', function () { echo 'A'; }); uv_write($handler, 'B', function () { echo 'B'; }); diff --git a/tests/004-uv_write-no-memory_leak.phpt b/tests/004-uv_write-no-memory_leak.phpt index 4a55c44..7d34019 100644 --- a/tests/004-uv_write-no-memory_leak.phpt +++ b/tests/004-uv_write-no-memory_leak.phpt @@ -9,7 +9,7 @@ class TestCase { $loop = uv_loop_new(); $handler = uv_pipe_init($loop, false); - uv_pipe_open($handler, (int) STDIN); + uv_pipe_open($handler, (int) STDOUT); $a = 0;