Skip to content

Commit fd47cd8

Browse files
committed
[skip ci] Fix ldap skipif
1 parent 5105042 commit fd47cd8

3 files changed

+11
-5
lines changed

ext/ldap/tests/ldap_set_option_tls_protocol_max_basic.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ ldap_set_option() - Basic test for TLS protocol max ldap option
44
Chad Sikorra <[email protected]>
55
--EXTENSIONS--
66
ldap
7+
--SKIPIF--
8+
<?php
9+
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
10+
die('skip LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
11+
}
12+
?>
713
--FILE--
814
<?php
915
require "connect.inc";

ext/ldap/tests/ldap_set_option_tls_protocol_max_basic_tls13.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Chad Sikorra <[email protected]>
66
ldap
77
--SKIPIF--
88
<?php
9-
109
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
11-
die('LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
10+
die('skip LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
1211
}
12+
?>
1313
--FILE--
1414
<?php
1515
require "connect.inc";

ext/ldap/tests/ldap_set_option_tls_protocol_min_basic_tls13.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Chad Sikorra <[email protected]>
66
ldap
77
--SKIPIF--
88
<?php
9-
10-
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_TLS1_3")) {
11-
die('LDAP_OPT_X_TLS_PROTOCOL_TLS1_3 unsupported.');
9+
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
10+
die('skip LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
1211
}
12+
?>
1313
--FILE--
1414
<?php
1515
require "connect.inc";

0 commit comments

Comments
 (0)