Skip to content

Commit

Permalink
Add tests for #53
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Feb 14, 2023
1 parent c5e9080 commit 9eeceb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_2_extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@
'curl-http2' => defined('CURL_HTTP_VERSION_2'),
// Make sure we are not using the default AL2 OpenSSL version (7.79)
'curl-openssl' => str_starts_with(curl_version()['ssl_version'], 'OpenSSL/1.1.1'),
// Check that the default certificate file exists
// https://github.com/brefphp/aws-lambda-layers/issues/53
'curl-openssl-certificates' => file_exists(openssl_get_cert_locations()['default_cert_file']),
// Make sure we are using curl with our compiled libssh
'curl-libssh' => version_compare(str_replace('libssh2/', '', curl_version()['libssh_version']), '1.10.0', '>='),
'json' => function_exists('json_encode'),
Expand Down

0 comments on commit 9eeceb6

Please sign in to comment.