View | Details | Raw Unified | Return to bug 28565
Collapse All | Expand All

(-)a/t/db_dependent/UsageStats.t (-243 / +2 lines)
Lines 347-594 sub construct_objects_needed { Link Here
347
sub mocking_systempreferences_to_a_set_value {
347
sub mocking_systempreferences_to_a_set_value {
348
    my $set_value = shift;
348
    my $set_value = shift;
349
349
350
    foreach (
350
    foreach ( @{ C4::UsageStats::_shared_preferences() } )
351
        qw/
351
    {
352
        AcqCreateItem
353
        AcqWarnOnDuplicateInvoice
354
        AcqViewBaskets
355
        BasketConfirmations
356
        OrderPdfFormat
357
        casAuthentication
358
        casLogout
359
        AllowPKIAuth
360
        DebugLevel
361
        CSVDelimiter
362
        noItemTypeImages
363
        OpacNoItemTypeImages
364
        virtualshelves
365
        AutoLocation
366
        IndependentBranches
367
        SessionStorage
368
        Persona
369
        AuthDisplayHierarchy
370
        AutoCreateAuthorities
371
        BiblioAddsAuthorities
372
        AuthorityMergeLimit
373
        AuthorityMergeMode
374
        UseAuthoritiesForTracings
375
        CatalogModuleRelink
376
        hide_marc
377
        IntranetBiblioDefaultView
378
        LabelMARCView
379
        OpacSuppression
380
        SeparateHoldings
381
        UseControlNumber
382
        advancedMARCeditor
383
        DefaultClassificationSource
384
        EasyAnalyticalRecords
385
        autoBarcode
386
        item-level_itypes
387
        marcflavour
388
        PrefillItem
389
        z3950NormalizeAuthor
390
        SpineLabelAutoPrint
391
        SpineLabelShowPrintOnBibDetails
392
        BlockReturnOfLostItems
393
        BlockReturnOfWithdrawnItems
394
        CalculateFinesOnReturn
395
        AgeRestrictionOverride
396
        AllFinesNeedOverride
397
        AllowFineOverride
398
        AllowItemsOnHoldCheckoutSIP
399
        AllowItemsOnHoldCheckoutSCO
400
        AllowNotForLoanOverride
401
        AllowRenewalLimitOverride
402
        AllowReturnToBranch
403
        AllowTooManyOverride
404
        AutomaticItemReturn
405
        AutoRemoveOverduesRestrictions
406
        CircControl
407
        HomeOrHoldingBranch
408
        HomeOrHoldingBranchReturn
409
        IssueLostItem
410
        IssuingInProcess
411
        ManInvInNoissuesCharge
412
        OverduesBlockCirc
413
        RenewalPeriodBase
414
        RenewalSendNotice
415
        RentalsInNoissuesCharge
416
        ReturnBeforeExpiry
417
        TransfersMaxDaysWarning
418
        UseBranchTransferLimits
419
        UseTransportCostMatrix
420
        UseCourseReserves
421
        finesCalendar
422
        FinesIncludeGracePeriod
423
        finesMode
424
        RefundLostOnReturnControl
425
        WhenLostChargeReplacementFee
426
        WhenLostForgiveFine
427
        AllowHoldDateInFuture
428
        AllowHoldPolicyOverride
429
        AllowHoldsOnDamagedItems
430
        AllowHoldsOnPatronsPossessions
431
        AutoResumeSuspendedHolds
432
        canreservefromotherbranches
433
        decreaseLoanHighHolds
434
        DisplayMultiPlaceHold
435
        emailLibrarianWhenHoldIsPlaced
436
        ExpireReservesMaxPickUpDelay
437
        OPACAllowHoldDateInFuture
438
        OPACAllowUserToChooseBranch
439
        ReservesControlBranch
440
        ReservesNeedReturns
441
        SuspendHoldsIntranet
442
        SuspendHoldsOpac
443
        TransferWhenCancelAllWaitingHolds
444
        AllowAllMessageDeletion
445
        AllowOfflineCirculation
446
        PatronAutoComplete
447
        CircAutoPrintQuickSlip
448
        DisplayClearScreenButton
449
        FilterBeforeOverdueReport
450
        FineNotifyAtCheckin
451
        itemBarcodeFallbackSearch
452
        itemBarcodeInputFilter
453
        previousIssuesDefaultSortOrder
454
        RecordLocalUseOnReturn
455
        soundon
456
        SpecifyDueDate
457
        todaysIssuesDefaultSortOrder
458
        UpdateTotalIssuesOnCirc
459
        UseTablesortForCirc
460
        WaitingNotifyAtCheckin
461
        SCOAllowCheckin
462
        AutoSelfCheckAllowed
463
        FRBRizeEditions
464
        OPACFRBRizeEditions
465
        AmazonCoverImages
466
        OPACAmazonCoverImages
467
        Babeltheque
468
        BakerTaylorEnabled
469
        GoogleJackets
470
        HTML5MediaEnabled
471
        LibraryThingForLibrariesEnabled
472
        LocalCoverImages
473
        OPACLocalCoverImages
474
        NovelistSelectEnabled
475
        OpenLibraryCovers
476
        OpenLibrarySearch
477
        SyndeticsEnabled
478
        TagsEnabled
479
        CalendarFirstDayOfWeek
480
        opaclanguagesdisplay
481
        AcquisitionLog
482
        AuthoritiesLog
483
        BorrowersLog
484
        CataloguingLog
485
        FinesLog
486
        IssueLog
487
        ClaimsLog
488
        ReturnLog
489
        SubscriptionLog
490
        BiblioDefaultView
491
        COinSinOPACResults
492
        DisplayOPACiconsXSLT
493
        hidelostitems
494
        HighlightOwnItemsOnOPAC
495
        OpacAddMastheadLibraryPulldown
496
        OPACDisplay856uAsImage
497
        OpacHighlightedWords
498
        OpacKohaUrl
499
        OpacMaintenance
500
        OpacPublic
501
        OpacSeparateHoldings
502
        OPACShowCheckoutName
503
        OpacShowFiltersPulldownMobile
504
        OPACShowHoldQueueDetails
505
        OpacShowRecentComments
506
        OPACShowUnusedAuthorities
507
        OpacStarRatings
508
        opacthemes
509
        OPACURLOpenInNewWindow
510
        OpacAuthorities
511
        opacbookbag
512
        OpacBrowser
513
        OpacBrowseResults
514
        OpacCloud
515
        OPACFinesTab
516
        OpacHoldNotes
517
        OpacItemLocation
518
        OpacPasswordChange
519
        OPACPatronDetails
520
        OPACpatronimages
521
        OPACPopupAuthorsSearch
522
        OpacTopissue
523
        opacuserlogin
524
        QuoteOfTheDay
525
        RequestOnOpac
526
        OPACComments
527
        ShowReviewer
528
        ShowReviewerPhoto
529
        SocialNetworks
530
        suggestion
531
        OpacAllowPublicListCreation
532
        OpacAllowSharingPrivateLists
533
        OpacRenewalAllowed
534
        OpacRenewalBranch
535
        OPACViewOthersSuggestions
536
        SearchMyLibraryFirst
537
        singleBranchMode
538
        AnonSuggestions
539
        EnableOpacSearchHistory
540
        OPACPrivacy
541
        opacreadinghistory
542
        TrackClicks
543
        PatronSelfRegistration
544
        OPACShelfBrowser
545
        AutoEmailOpacUser
546
        AutoEmailPrimaryAddress
547
        autoMemberNum
548
        BorrowerRenewalPeriodBase
549
        EnableBorrowerFiles
550
        EnhancedMessagingPreferences
551
        ExtendedPatronAttributes
552
        intranetreadinghistory
553
        patronimages
554
        TalkingTechItivaPhoneNotification
555
        uppercasesurnames
556
        IncludeSeeFromInSearches
557
        QueryAutoTruncate
558
        QueryFuzzy
559
        QueryStemming
560
        QueryWeightFields
561
        TraceCompleteSubfields
562
        TraceSubjectSubdivisions
563
        UseICUStyleQuotes
564
        defaultSortField
565
        displayFacetCount
566
        OPACdefaultSortField
567
        OPACItemsResultsDisplay
568
        expandedSearchOption
569
        IntranetNumbersPreferPhrase
570
        OPACNumbersPreferPhrase
571
        opacSerialDefaultTab
572
        RenewSerialAddsSuggestion
573
        RoutingListAddReserves
574
        RoutingSerials
575
        SubscriptionHistory
576
        Display856uAsImage
577
        DisplayIconsXSLT
578
        template
579
        yuipath
580
        HidePatronName
581
        intranetbookbag
582
        StaffDetailItemSelection
583
        viewISBD
584
        viewLabeledMARC
585
        viewMARC
586
        ILS-DI
587
        OAI-PMH
588
        version
589
        AudioAlerts
590
        /
591
      ) {
592
        t::lib::Mocks::mock_preference( $_, $set_value );
352
        t::lib::Mocks::mock_preference( $_, $set_value );
593
    }
353
    }
594
}
354
}
595
- 

Return to bug 28565