File: server_state.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 (22 lines) | stat: -rw-r--r-- 385 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
use strict;
use warnings;

use Test::More;

use lib 't/lib';

use TestServerState;

my $state1 = TestServerState->new(
    client_id    => q{cid_str},
    server_state => q{ss_str},
    expires_in   => 900,
    extra        => q{ext},
);

is($state1->client_id, q{cid_str});
is($state1->server_state, q{ss_str});
is($state1->expires_in, 900);
is($state1->extra, q{ext});

done_testing