summaryrefslogtreecommitdiff
path: root/t/lib/test_account.pl
blob: 7b104731ed792c211fc76c60e6845b9bfbe59fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

sub test_account {
    # fill all these fields in to test out transactions
    my %opts = (
        login    => '', #userid
        password => '', #gid
        platform => '',
        appid => ''
        #tid => '',
    );

    return %opts;
}

sub expiration_date {
    my($month, $year) = (localtime)[4,5];
    $month += 1;
    $year++;       # So we expire next year.
    $year %= 100;

    return sprintf("%02d/%02d", $month, $year);
}


1;