Subject: | Tests fail with MongoDB 2 |
It seems that MongoDB::GridFS was removed from MongoDB 2, so the test suite started to fail:
...
# Failed test 'use MongoDBx::Tiny::GridFS;'
# at t/00-load.t line 10.
# Tried to use 'MongoDBx::Tiny::GridFS'.
# Error: Can't locate MongoDB/GridFS.pm in @INC (you may need to install the MongoDB::GridFS module) (@INC contains: ...) at /home/cpansand/.cpan/build/2018092614/MongoDBx-Tiny-0.04-4/blib/lib/MongoDBx/Tiny/GridFS.pm line 12.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018092614/MongoDBx-Tiny-0.04-4/blib/lib/MongoDBx/Tiny/GridFS.pm line 12.
# Compilation failed in require at t/00-load.t line 10.
# BEGIN failed--compilation aborted at t/00-load.t line 10.
Bailout called. Further testing stopped:
# Testing MongoDBx::Tiny 0.04, Perl 5.028000, /usr/perl5.28.0p/bin/perl5.28.0
# Looks like you failed 1 test of 9.
FAILED--Further testing stopped.
*** Error code 1
...