📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-07-12 03:46:36
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php81-pecl-mongodb_1.18.1-1.el8
/
tests
📍 /opt/alt/tests/alt-php81-pecl-mongodb_1.18.1-1.el8/tests
🔄 Refresh
✏️
Editing: manager-ctor_error-002.phpt
Read Only
--TEST-- MongoDB\Driver\Manager::__construct(): invalid URI --FILE-- <?php require_once __DIR__ . '/../utils/basic.inc'; echo throws(function() { $manager = create_test_manager("not a valid connection string"); }, "MongoDB\Driver\Exception\InvalidArgumentException"), "\n"; ?> ===DONE=== <?php exit(0); ?> --EXPECT-- OK: Got MongoDB\Driver\Exception\InvalidArgumentException Failed to parse MongoDB URI: 'not a valid connection string'. Invalid URI Schema, expecting 'mongodb://' or 'mongodb+srv://'. ===DONE===
💾 Save Changes
❌ Cancel