8 |
|
|
9 |
=cut |
=cut |
10 |
|
|
11 |
use Jifty::Test tests => 11; |
use Jifty::Test tests => 12; |
12 |
|
|
13 |
# Make sure we can load the model |
# Make sure we can load the model |
14 |
use_ok('A3C::Model::hrEduOrg'); |
use_ok('A3C::Model::hrEduOrg'); |
67 |
ok($o->id, "hrEduOrg create returned another value"); |
ok($o->id, "hrEduOrg create returned another value"); |
68 |
isnt($o->id, $id, "And it is different from the previous one"); |
isnt($o->id, $id, "And it is different from the previous one"); |
69 |
|
|
70 |
|
# multi-value rollup |
71 |
|
use Data::Dump qw/dump/; |
72 |
|
dump( $o->cn ); |
73 |
|
is( $o->cn, 'cn <*> RFC2256: common name(s) for which the entity is known by', 'ARRAY value'); |
74 |
|
|
75 |
# Searches in general |
# Searches in general |
76 |
my $collection = A3C::Model::hrEduOrgCollection->new(current_user => $system_user); |
my $collection = A3C::Model::hrEduOrgCollection->new(current_user => $system_user); |
77 |
$collection->unlimit; |
$collection->unlimit; |