LemonLDAPNG / apache-session-mongodb

Implementation of Apache::Session which uses MongoDB as backend
https://metacpan.org/pod/Apache::Session::MongoDB
Other
2 stars 2 forks source link

Deprecation warnings #5

Closed coudot closed 5 years ago

coudot commented 7 years ago

Running tests in Travis gives some warnings:

# *** DEPRECATION WARNING ***

#

# The 'insert' method will be removed in a future major release.

# Use 'insert_one' instead.

#    MongoDB::Collection::insert called at /home/travis/build/LemonLDAPNG/apache-session-mongodb/blib/lib/Apache/Session/Store/MongoDB.pm line 54

#    Apache::Session::Store::MongoDB::insert called at /home/travis/perl5/perlbrew/perls/5.22.0/lib/site_perl/5.22.0/Apache/Session.pm line 544

#    Apache::Session::save called at /home/travis/perl5/perlbrew/perls/5.22.0/lib/site_perl/5.22.0/Apache/Session.pm line 426

#    Apache::Session::TIEHASH called at t/Apache-Session-MongoDB.t line 28

#

# *** DEPRECATION WARNING ***

#

# The 'remove' method will be removed in a future major release.

# Use $_ or 'delete_one' instead.

#    MongoDB::Collection::remove called at /home/travis/build/LemonLDAPNG/apache-session-mongodb/blib/lib/Apache/Session/Store/MongoDB.pm line 79

#    Apache::Session::Store::MongoDB::remove called at /home/travis/build/LemonLDAPNG/apache-session-mongodb/blib/lib/Apache/Session/Store/MongoDB.pm line 59

#    Apache::Session::Store::MongoDB::update called at /home/travis/perl5/perlbrew/perls/5.22.0/lib/site_perl/5.22.0/Apache/Session.pm line 537

#    Apache::Session::save called at /home/travis/perl5/perlbrew/perls/5.22.0/lib/site_perl/5.22.0/Apache/Session.pm line 491

#    Apache::Session::DESTROY called at t/Apache-Session-MongoDB.t line 37

#    (eval) called at t/Apache-Session-MongoDB.t line 37