Skip to content

Commit b5defdb

Browse files
committed
remove model helper from tests
1 parent e48a888 commit b5defdb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: t/lib/MetaCPAN/Server/Test.pm

-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use feature qw(state);
77
use Carp qw( croak );
88
use HTTP::Request::Common qw( DELETE GET POST ); ## no perlimports
99
use MetaCPAN::ESConfig qw( es_doc_path );
10-
use MetaCPAN::Model ();
1110
use MetaCPAN::Server ();
1211
use MetaCPAN::Server::Config ();
1312
use MetaCPAN::Types::TypeTiny qw( ES );
@@ -19,7 +18,6 @@ our @EXPORT_OK = qw(
1918
POST GET DELETE
2019
es
2120
es_result
22-
model
2321
test_psgi app
2422
query
2523
);
@@ -53,10 +51,6 @@ sub es {
5351
};
5452
}
5553

56-
sub model {
57-
state $model = MetaCPAN::Model->new( es => es() );
58-
}
59-
6054
sub query {
6155
state $query = MetaCPAN::Query->new( es => es() );
6256
}

0 commit comments

Comments
 (0)