File: Factory.pm

package info (click to toggle)
libpithub-perl 0.01043-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,148 kB
  • sloc: perl: 9,098; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 408 bytes parent folder | download
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;