Skip to content

Commit 54ea2a5

Browse files
committed
chore: tap is not needed for these tests
1 parent 8926629 commit 54ea2a5

7 files changed

+0
-14
lines changed

tests/integration/api/notice_error/test_good_1_arg_exception_handler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@
110110
]
111111
*/
112112

113-
require_once(realpath(dirname(__FILE__)) . '/../../../include/tap.php');
114-
115113
function a()
116114
{
117115
throw new Exception("1 arg exception");

tests/integration/api/notice_error/test_good_1_arg_string.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@
9090
]
9191
*/
9292

93-
require_once(realpath(dirname(__FILE__)) . '/../../../include/tap.php');
94-
9593
function a()
9694
{
9795
// First arg must be a string or an exception.

tests/integration/api/notice_error/test_good_2_args.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@
8989
]
9090
*/
9191

92-
require_once(realpath(dirname(__FILE__)) . '/../../../include/tap.php');
93-
9492
function a()
9593
{
9694
// Args must be string, exception.

tests/integration/api/notice_error/test_good_4_args.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@
9090
]
9191
*/
9292

93-
require_once(realpath(dirname( __FILE__ )) . '/../../../include/tap.php');
94-
9593
function a() {
9694
// Four argument form requires integer, string, string, integer
9795
// This is like the five argument form but for PHP 8+ where the context is not supplied

tests/integration/api/notice_error/test_good_4_args_error_handler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@
110110
]
111111
*/
112112

113-
require_once(realpath(dirname( __FILE__ )) . '/../../../include/tap.php');
114-
115113
function a() {
116114
trigger_error("4 arg error", E_USER_ERROR);
117115
}

tests/integration/api/notice_error/test_good_5_args.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@
9090
]
9191
*/
9292

93-
require_once(realpath(dirname( __FILE__ )) . '/../../../include/tap.php');
94-
9593
function a() {
9694
// Five argument form requires second arg to be convertible to a string.
9795
newrelic_notice_error(42, "5 arg error", "file", __LINE__, "string");

tests/integration/api/notice_error/test_good_5_args_error_handler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@
110110
]
111111
*/
112112

113-
require_once(realpath(dirname( __FILE__ )) . '/../../../include/tap.php');
114-
115113
function a() {
116114
trigger_error("5 arg error", E_USER_ERROR);
117115
}

0 commit comments

Comments
 (0)