diff options
| author | franck cuny <franck@lumberjaph.net> | 2009-11-27 10:19:54 +0100 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2009-11-27 10:19:54 +0100 |
| commit | ad94062c6eda235a8b5b4274b3dbfa493b10557b (patch) | |
| tree | 31f8bf5c36133d81bfa84aa8057ce6d52a312ac8 /t/04_wow.t | |
| parent | add more test with different api (diff) | |
| download | moosex-net-api-ad94062c6eda235a8b5b4274b3dbfa493b10557b.tar.gz | |
new tests
Diffstat (limited to '')
| -rw-r--r-- | t/04_wow.t | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/t/04_wow.t b/t/04_wow.t new file mode 100644 index 0000000..ea87d8c --- /dev/null +++ b/t/04_wow.t @@ -0,0 +1,16 @@ +use strict; +use warnings; +use lib ('t/lib'); + +use Test::More; +use WoWArmory; + +my ( $obj, $res ); + +ok $obj = WoWArmory->new(); + +ok $res = $obj->character( r => 'Elune', n => 'Aarnn' ); +is $res->{characterInfo}->{character}->{name}, 'Aarnn', + '... got valid player name'; +done_testing(); + |
