File: access_token.t

package info (click to toggle)
liboauth-lite2-perl 0.11-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 592 kB
  • sloc: perl: 2,658; makefile: 8
file content (23 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use strict;
use warnings;

use Test::More tests => 3;

use lib 't/lib';

use TestAccessToken;

# auth_id token
# expires_in, created_on, secret secret_type

my $token1 = TestAccessToken->new(
    auth_id => q{foo},
    token   => q{bar},
    extra   => q{buz},
);

is($token1->auth_id, q{foo});
is($token1->token, q{bar});
is($token1->extra, q{buz});