File: Factory.pm

package info (click to toggle)
libpithub-perl 0.01033-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 928 kB
  • ctags: 321
  • sloc: perl: 3,282; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package    # hide from PAUSE
  Pithub::Test::Factory;

use strict;
use warnings;
use Pithub::Test::UA;

sub create {
    my ( $self, $class, %args ) = @_;
    return $class->new( ua => Pithub::Test::UA->new, %args );
}

sub test_account {
    return {
        org      => 'buhtip-org',
        org_repo => 'buhtip-org-repo',
        repo     => 'buhtip-repo',
        user     => 'buhtip',
    };
}

1;