/[A3C]/t/00-model-hrEduOrg.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /t/00-model-hrEduOrg.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 128 by dpavlin, Mon May 26 17:51:43 2008 UTC revision 208 by dpavlin, Thu Jun 19 21:24:26 2008 UTC
# Line 8  A basic test harness for the hrEduOrg mo Line 8  A basic test harness for the hrEduOrg mo
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');
# Line 67  $o->create( Line 67  $o->create(
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;

Legend:
Removed from v.128  
changed lines
  Added in v.208

  ViewVC Help
Powered by ViewVC 1.1.26