Subject: | Incompatible with MongoDB v1 |
With MongoDB v1 tests fail:
Can't locate object method "new" via package "MongoDB::Connection" (perhaps you forgot to load "MongoDB::Connection"?) at /tmpfs/.cpan-build-cpansand/2016030706/YAWF-Object-MongoDB-0.03-Dj4Om3/blib/lib/YAWF/Object/MongoDB.pm line 636.
Can't locate object method "new" via package "MongoDB::Connection" (perhaps you forgot to load "MongoDB::Connection"?) at /tmpfs/.cpan-build-cpansand/2016030706/YAWF-Object-MongoDB-0.03-Dj4Om3/blib/lib/YAWF/Object/MongoDB.pm line 636.
END failed--call queue aborted at t/01_create.t line 636.
# Looks like you planned 34 tests but ran 6.
# Looks like your test exited with 22 just after 6.
t/01_create.t .........
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 28/34 subtests
MongoDB::Connection does not exist anymore, now it's MongoDB::MongoClient with a slightly different API.