Advertisement
Guest User

Untitled

a guest
Nov 13th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. use Test::More 'no_plan';
  2.  
  3. use strict;
  4. use warnings;
  5.  
  6.  
  7.  
  8. use Test::DBIx::Class;
  9. use Test::DBIx::Class::Schema;
  10.  
  11. my $schematest = Test::DBIx::Class::Schema->new({
  12. dsn => 'dbi:mysql:PearlBee',
  13. username => 'root',
  14. password => 1,
  15. namespace => 'PearlBee::Schema',
  16. moniker => 'User',
  17.  
  18.  
  19. });
  20.  
  21. $schematest->methods({ columns => id});
  22. done_testing;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement