Skip to content

Commit 8158760

Browse files
committed
Fix path to tests when executed through pecl run-tests
1 parent 98ca229 commit 8158760

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/standalone/cursor-IteratorIterator-001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
--TEST--
22
MongoDB\Driver\Cursor query result iteration through IteratorIterator
33
--SKIPIF--
4-
<?php require "tests/utils/basic-skipif.inc"; CLEANUP(STANDALONE) ?>
4+
<?php require __DIR__ . "/../utils/basic-skipif.inc"; CLEANUP(STANDALONE) ?>
55
--FILE--
66
<?php
7-
require_once "tests/utils/basic.inc";
7+
require_once __DIR__ . "/../utils/basic.inc";
88

99
$manager = new MongoDB\Driver\Manager(STANDALONE);
1010

tests/standalone/cursor-IteratorIterator-002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
--TEST--
22
MongoDB\Driver\Cursor command result iteration through IteratorIterator
33
--SKIPIF--
4-
<?php require "tests/utils/basic-skipif.inc"; CLEANUP(STANDALONE) ?>
4+
<?php require __DIR__ . "/../utils/basic-skipif.inc"; CLEANUP(STANDALONE) ?>
55
--FILE--
66
<?php
7-
require_once "tests/utils/basic.inc";
7+
require_once __DIR__ . "/../utils/basic.inc";
88

99
$manager = new MongoDB\Driver\Manager(STANDALONE);
1010

0 commit comments

Comments
 (0)