| Lines 38-44
          my $schema = Koha::Database->new->schema;
      
      
        Link Here | 
        
          | 38 |  | 38 |  | 
        
          | 39 | subtest 'Koha::Holding tests' => sub { | 39 | subtest 'Koha::Holding tests' => sub { | 
        
          | 40 |  | 40 |  | 
          
            
              | 41 |     plan tests => 19; | 41 |     plan tests => 20; | 
        
          | 42 |  | 42 |  | 
        
          | 43 |     $schema->storage->txn_begin; | 43 |     $schema->storage->txn_begin; | 
        
          | 44 |  | 44 |  | 
  
    | Lines 167-172
          subtest 'Koha::Holding tests' => sub {
      
      
        Link Here | 
        
          | 167 |     is(ref $holding, 'Koha::Holding', 'Found a Koha::Holding object'); | 167 |     is(ref $holding, 'Koha::Holding', 'Found a Koha::Holding object'); | 
        
          | 168 |     is($holding->frameworkcode(), $frameworkcode, 'Framework code correct in Koha::Holding object'); | 168 |     is($holding->frameworkcode(), $frameworkcode, 'Framework code correct in Koha::Holding object'); | 
        
          | 169 |     is($holding->holdingbranch(), 'ABC', 'Location correct in Koha::Holding object'); | 169 |     is($holding->holdingbranch(), 'ABC', 'Location correct in Koha::Holding object'); | 
            
              |  |  | 170 |     is($holding->biblio()->biblionumber(), $biblionumber, 'Biblio correct in Koha::Holding object'); | 
        
          | 170 |  | 171 |  | 
        
          | 171 |     my $branch = $holding->holding_branch(); | 172 |     my $branch = $holding->holding_branch(); | 
        
          | 172 |     is(ref $branch, 'Koha::Library', 'holding_branch() returns a Koha::Library object'); | 173 |     is(ref $branch, 'Koha::Library', 'holding_branch() returns a Koha::Library object'); | 
            
              | 173 | -  |  |  |