Skip to content

Commit fe227d5

Browse files
committed
chore: remove mongodb integration tests
due to mongodb library changes, it has become infeasible to run integration tests. replace with Multiverse tests instead.
1 parent 1e1e527 commit fe227d5

File tree

7 files changed

+0
-231
lines changed

7 files changed

+0
-231
lines changed

docker-compose.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ services:
3636
ports:
3737
- "11211:11211"
3838
container_name: memcached
39-
# mongodb:
40-
# image: mongo:latest
41-
# restart: always
42-
# ports:
43-
# - "27019:27019"
4439
postgres:
4540
image: postgres
4641
restart: always
@@ -57,8 +52,6 @@ services:
5752
environment:
5853
MEMCACHE_HOST: memcached
5954

60-
# MONGO_HOST: mongodb
61-
6255
MYSQL_DB: database
6356
MYSQL_USER: admin
6457
MYSQL_PASSWD: admin
@@ -86,8 +79,6 @@ services:
8679
environment:
8780
MEMCACHE_HOST: memcached
8881

89-
# MONGO_HOST: mongodb
90-
9182
MYSQL_DB: database
9283
MYSQL_USER: admin
9384
MYSQL_PASSWD: admin

tests/include/config.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ function isset_or($check, $alternate = NULL)
2424
$MYSQL_SERVER = $MYSQL_HOST . ":" . $MYSQL_PORT;
2525
}
2626

27-
if (class_exists('MongoClient')) {
28-
$MONGO_HOST = isset_or('MONGO_HOST', MongoClient::DEFAULT_HOST);
29-
$MONGO_PORT = isset_or('MONGO_PORT', MongoClient::DEFAULT_PORT);
30-
} else {
31-
$MONGO_HOST = null;
32-
$MONGO_PORT = null;
33-
}
34-
3527
$MEMCACHE_HOST = isset_or('MEMCACHE_HOST', '127.0.0.1');
3628
$MEMCACHE_PORT = isset_or('MEMCACHE_PORT', '11211');
3729

tests/integration/mongo/mongo.inc

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/integration/mongo/skipif.inc

Lines changed: 0 additions & 18 deletions
This file was deleted.

tests/integration/mongo/test_execute.php

Lines changed: 0 additions & 55 deletions
This file was deleted.

tests/integration/mongo/test_execute_logging_off.php

Lines changed: 0 additions & 56 deletions
This file was deleted.

tests/integration/mongo/test_find.php

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)