| 
      
            Lines 91-97
          subtest "Working with control fields in another framework" => sub {
      
      
        Link Here
      
     | 
  
        
          | 91 | 
          subtest "Add test for no_split option" => sub { | 
          91 | 
          subtest "Add test for no_split option" => sub { | 
        
        
          | 92 | 
              plan tests => 4;  | 
          92 | 
              plan tests => 4;  | 
        
        
          | 93 | 
           | 
          93 | 
           | 
        
          
            
              | 94 | 
                  my $fwc = t::lib::TestBuilder->new->build({ source => 'MarcSubfieldStructure' })->{frameworkcode}; | 
              94 | 
                  my $fwc = t::lib::TestBuilder->new->build({ source => 'BiblioFramework' })->{frameworkcode}; | 
            
        
          | 95 | 
              Koha::MarcSubfieldStructure->new({ frameworkcode => $fwc, tagfield => '952', tagsubfield => 'a', kohafield => 'items.fld1' })->store; | 
          95 | 
              Koha::MarcSubfieldStructure->new({ frameworkcode => $fwc, tagfield => '952', tagsubfield => 'a', kohafield => 'items.fld1' })->store; | 
        
        
          | 96 | 
              Koha::MarcSubfieldStructure->new({ frameworkcode => $fwc, tagfield => '952', tagsubfield => 'b', kohafield => 'items.fld1' })->store; | 
          96 | 
              Koha::MarcSubfieldStructure->new({ frameworkcode => $fwc, tagfield => '952', tagsubfield => 'b', kohafield => 'items.fld1' })->store; | 
        
        
          | 97 | 
              Koha::Caches->get_instance->clear_from_cache( "MarcSubfieldStructure-$fwc" );  | 
          97 | 
              Koha::Caches->get_instance->clear_from_cache( "MarcSubfieldStructure-$fwc" );  | 
        
            
              | 98 | 
              -   | 
               | 
               |