﻿
   PASS  Tests\Feature\AdminPageSmokeTest
  Γ£ô parameterless get pages render without server errors                                                        40.20s  
  Γ£ô record pages render without server errors                                                                   14.12s  
  Γ£ô the administrator can reach the beds admissions and invoice capabilities                                     0.90s  

   PASS  Tests\Feature\AllergyMedicationTest
  Γ£ô missing status is unknown not none                                                                           0.68s  
  Γ£ô allergies page renders unknown banner for unassessed patient                                                 1.62s  
  Γ£ô assessed none is distinct from unknown                                                                       0.91s  
  Γ£ô recording an allergy sets status to recorded                                                                 0.73s  
  Γ£ô blank allergen is rejected                                                                                   0.78s  
  Γ£ô unknown severity is preserved not defaulted                                                                  0.77s  
  Γ£ô assessed none refused while active allergies exist                                                           0.72s  
  Γ£ô entered in error keeps the row and recalculates status                                                       0.68s  
  Γ£ô entered in error requires a reason                                                                           0.73s  
  Γ£ô reset to unknown requires a reason                                                                           0.75s  
  Γ£ô reset to unknown withdraws an assessment                                                                     0.85s  
  Γ£ô nurse can record allergies                                                                                   0.73s  
  Γ£ô receptionist cannot record allergies                                                                         0.63s  
  Γ£ô recording a medication with source and provenance                                                            0.70s  
  Γ£ô blank medication name is rejected                                                                            0.68s  
  Γ£ô discontinuing keeps the row with a reason                                                                    0.65s  
  Γ£ô discontinue requires a reason                                                                                0.71s  
  Γ£ô only active medications can be discontinued                                                                  0.68s  
  Γ£ô reconciliation records actor and time                                                                        0.71s  
  Γ£ô allergies page renders for doctor                                                                            0.85s  
  Γ£ô receptionist cannot open the allergies page                                                                  0.81s  
  Γ£ô tenant isolation second tenant patient is not reachable                                                      0.66s  
  Γ£ô audit actions are recorded                                                                                   0.74s  
  Γ£ô medication page shows discontinued items retained                                                            0.99s  

   PASS  Tests\Feature\AppointmentBookingTest
  Γ£ô booking succeeds inside a published window                                                                   0.86s  
  Γ£ô clinician double booking is rejected                                                                         0.75s  
  Γ£ô room double booking is rejected                                                                              0.75s  
  Γ£ô booking outside published window is rejected                                                                 0.71s  
  Γ£ô booking during a whole day override is rejected                                                              0.68s  
  Γ£ô reschedule revalidates conflicts against the new slot                                                        0.70s  
  Γ£ô reschedule moves the appointment when the new slot is free                                                   0.78s  
  Γ£ô cancellation requires a reason and frees the slot                                                            0.69s  
  Γ£ô status transitions are recorded and audited                                                                  0.74s  
  Γ£ô no show marks the appointment                                                                                0.71s  
  Γ£ô booking without manage permission is rejected                                                                0.74s  
  Γ£ô portal resolves only the signed in patients own record                                                       1.68s  
  Γ£ô portal requires the book own permission                                                                      0.87s  
  Γ£ô the portal offers only clinical roles as bookable clinicians                                                 0.80s  
  Γ£ô appointments index requires view permission                                                                  0.85s  
  Γ£ô booking form requires manage permission                                                                      0.82s  
  Γ£ô http booking surfaces conflicts as validation errors                                                         0.72s  
  Γ£ô tenant isolation on appointments                                                                             0.83s  
  Γ£ô the booking service refuses a patient from another tenant                                                    0.70s  
  Γ£ô availability service blocks unavailable clinicians                                                           0.70s  

   PASS  Tests\Feature\AskBitmedAiTest
  Γ£ô demo mode is labelled and is not presented as model output                                                   0.90s  
  Γ£ô asking a question stores the turn                                                                            0.73s  
  Γ£ô a demo answer is clearly labelled as an example                                                              0.71s  
  Γ£ô an unavailable provider produces no fabricated answer                                                        0.76s  
  Γ£ô urgent symptom prompt triggers escalation without false reassurance                                          0.67s  
  Γ£ô a question without a subject asks for clarification                                                          0.70s  
  Γ£ô the interface explains that no records are accessible                                                        0.87s  
  Γ£ô the provider interface offers no way to reach a record                                                       0.70s  
  Γ£ô the question service accepts no patient context at all                                                       0.67s  
  Γ£ô possible identifiers in a question are flagged                                                               0.67s  
  Γ£ô history is private to one user and never shared                                                              0.70s  
  Γ£ô history of another tenant is not visible                                                                     0.72s  
  Γ£ô validation rejects an empty question                                                                         0.68s  
  Γ£ô a patient can ask general questions                                                                          0.79s  
  Γ£ô jargon adjustment is available without patient context                                                       0.72s  

   PASS  Tests\Feature\AuditTest
  Γ£ô seeding writes audit entries                                                                                 0.70s  
  Γ£ô audit entries are append only                                                                                0.69s  
  Γ£ô audit entries cannot be deleted                                                                              0.70s  
  Γ£ô reading the audit trail is itself audited                                                                    0.97s  
  Γ£ô metadata never records secrets or clinical values                                                            0.84s  
  Γ£ô audit entry keeps attribution even if the account is removed                                                 0.69s  
  Γ£ô a tenant cannot read another tenants audit trail                                                             0.86s  

   PASS  Tests\Feature\AuthorizationTest
  Γ£ô doctor holds clinical permissions                                                                            0.70s  
  Γ£ô administration rights do not grant clinical access                                                           0.74s  
  Γ£ô patient holds only self service permissions                                                                  0.73s  
  Γ£ô unknown permission key is denied                                                                             0.72s  
  Γ£ô patient scoped permission requires an assigned care relationship                                             0.66s  
  Γ£ô facility scoped grant does not travel to another facility                                                    0.73s  
  Γ£ô expired grant loses access                                                                                   0.67s  
  Γ£ô revoked grant loses access immediately                                                                       0.68s  
  Γ£ô disabled account holds no permission                                                                         0.67s  
  Γ£ô emergency access requires the explicit capability and a reason                                               0.69s  
  Γ£ô authorization denials are audited                                                                            0.71s  
  Γ£ô route permission denial returns forbidden without revealing records                                          0.94s  
  Γ£ô patient cannot reach staff workspaces                                                                        1.02s  
  Γ£ô platform account requires a platform role for platform powers                                                0.69s  
  Γ£ô tenant account never gains platform powers                                                                   0.76s  

   PASS  Tests\Feature\BedAndAdmissionIsolationTest
  Γ£ô a bed can be assigned and becomes occupied                                                                   1.47s  
  Γ£ô a bed already taken cannot be assigned again                                                                 0.98s  
  Γ£ô a patient can be transferred between beds                                                                    0.87s  
  Γ£ô a transfer to a bed already taken is refused                                                                 0.97s  
  Γ£ô a bed can be released and the stay retained                                                                  0.91s  
  Γ£ô an admission can be raised and then discharged                                                               1.01s  
  Γ£ô an admission cannot be discharged twice                                                                      1.24s  
  Γ£ô discharge requires a summary                                                                                 0.88s  
  Γ£ô the discharge form renders and submits                                                                       1.28s  
  Γ£ô the bed runner cannot admit or discharge                                                                     1.04s  
  Γ£ô the admitting doctor cannot move a patient between beds                                                      1.09s  
  Γ£ô a patient cannot open the bed register or place themselves                                                   1.13s  
  Γ£ô another clinics bed is not readable                                                                          0.89s  
  Γ£ô a patient cannot be placed in another clinics bed                                                            0.88s  
  Γ£ô a bed cannot be transferred into another clinic                                                              0.84s  
  Γ£ô another clinics bed stay cannot be released                                                                  1.10s  
  Γ£ô another clinics admission is not readable                                                                    1.26s  
  Γ£ô another clinic cannot discharge your admission                                                               0.98s  
  Γ£ô an admission cannot be raised against another clinic                                                         1.04s  

   PASS  Tests\Feature\CalendarFoundationTest
  Γ£ô seeded availability windows exist for the pilot                                                              0.68s  
  Γ£ô calendar is permission guarded                                                                               0.84s  
  Γ£ô calendar renders for a doctor                                                                                0.94s  
  Γ£ô calendar uses text labels not colour alone                                                                   0.85s  
  Γ£ô a whole day override blocks the whole day                                                                    0.89s  
  Γ£ô a part day override blocks only the covered slots                                                            0.85s  
  Γ£ô a different tenant cannot view another tenants calendar                                                      0.84s  
  Γ£ô time off is recorded against one staff member                                                                0.85s  

   PASS  Tests\Feature\CareRecordingTest
  Γ£ô recording a care action attributes it to the authenticated user                                              1.76s  
  Γ£ô a care action cannot be attributed to someone else via the form                                              1.05s  
  Γ£ô a care action cannot be recorded against another clinics patient                                             1.14s  
  Γ£ô a care action cannot reference another clinics order                                                         1.12s  
  Γ£ô a care action requires an amendment reason to be amended                                                     0.90s  
  Γ£ô amending a care action never reassigns its performer or patient                                              0.92s  
  Γ£ô a staff member cannot be assigned to the same patient twice                                                  0.92s  
  Γ£ô ending a care team assignment retains the row for the history                                                0.94s  
  Γ£ô a care team assignment cannot be ended twice                                                                 1.01s  
  Γ£ô a care team assignment cannot name another clinics staff member                                              1.02s  
  Γ£ô a treatment entry stores a diagnosis code verbatim                                                           0.89s  
  Γ£ô amending a treatment entry never reassigns who treated the patient                                           0.89s  
  Γ£ô a treatment entry cannot be recorded for another clinics patient                                             0.85s  
  Γ£ô a cashier is refused because clinical access is not theirs                                                   1.40s  
  Γ£ô the clinic screens render with their seeded data                                                             1.43s  
  Γ£ô one clinic cannot read another clinics care record                                                           0.89s  

   PASS  Tests\Feature\ClinicalDecisionSupportTest
  Γ£ô only approved active rules fire                                                                              0.79s  
  Γ£ô recorded allergy rule fires for the patient with allergies                                                   0.74s  
  Γ£ô unknown allergy status is reported as unknown never none                                                     0.73s  
  Γ£ô assessed none allergy status triggers neither allergy rule                                                   1.03s  
  Γ£ô approval makes a reviewed rule fire                                                                          1.19s  
  Γ£ô duplicate order rule reports a missing input when no line is selected                                        1.10s  
  Γ£ô approval requires a note and only from review                                                                0.85s  
  Γ£ô a draft rule cannot be approved                                                                              0.76s  
  Γ£ô unvalidated rule content cannot be created                                                                   0.91s  
  Γ£ô approved rule is immutable and retirement stops it firing                                                    0.75s  
  Γ£ô retired rule no longer fires                                                                                 0.81s  
  Γ£ô rule outside its effective window does not fire                                                              0.78s  
  Γ£ô override requires a reason and records the rule snapshot                                                     0.74s  
  Γ£ô override and acknowledgement are recorded                                                                    0.77s  
  Γ£ô retirement does not rewrite recorded guidance events                                                         0.83s  
  Γ£ô alert burden metrics report firings and override rate                                                        0.96s  
  Γ£ô guidance verbs are patient scoped                                                                            0.81s  
  Γ£ô rule governance requires the governance verb                                                                 0.70s  
  Γ£ô rule register is hidden from other tenants                                                                   0.76s  
  Γ£ô record panel shows guidance for a clinician                                                                  2.23s  
  Γ£ô cds register is open to clinicians and closed to reception                                                   1.47s  
  Γ£ô order placement records guidance surfacing without blocking                                                  0.90s  

   PASS  Tests\Feature\ClinicalOrderTest
  Γ£ô seeded catalogue is orderable and a retired line is not                                                      0.85s  
  Γ£ô order copies catalog code name and version at placement                                                      0.73s  
  Γ£ô retiring a catalog line never rewrites an existing order                                                     0.90s  
  Γ£ô ordering a retired or unknown line is refused                                                                0.77s  
  Γ£ô catalog line requiring an indication enforces it                                                             0.71s  
  Γ£ô order records its author and timestamp                                                                       0.70s  
  Γ£ô receptionist cannot place an order                                                                           0.67s  
  Γ£ô nurse without clinical order cannot place an order                                                           0.72s  
  Γ£ô amending an order supersedes it and keeps the original                                                       0.86s  
  Γ£ô amending requires a reason                                                                                   0.94s  
  Γ£ô a terminal order cannot be amended                                                                           0.88s  
  Γ£ô fulfilling an order records actor and time                                                                   0.81s  
  Γ£ô duplicate fulfillment is refused                                                                             0.83s  
  Γ£ô a cancelled order can never be fulfilled                                                                     0.68s  
  Γ£ô cancelling requires a reason and retains the row                                                             0.74s  
  Γ£ô entered in error keeps the row for attribution                                                               0.78s  
  Γ£ô an order can be started once                                                                                 0.71s  
  Γ£ô a retried request with the same key returns the original order                                               0.72s  
  Γ£ô reusing a key with a different request is refused                                                            0.70s  
  Γ£ô orders page renders for a doctor                                                                             1.28s  
  Γ£ô receptionist cannot open the orders page                                                                     0.85s  
  Γ£ô tenant isolation second tenant patient is not reachable                                                      0.72s  
  Γ£ô audit actions are recorded                                                                                   0.78s  
  Γ£ô cancelled orders remain visible on the page                                                                  0.89s  

   PASS  Tests\Feature\ClinicalRecordTest
  Γ£ô doctor can open a standalone encounter                                                                       0.77s  
  Γ£ô second open encounter for same patient is rejected                                                           0.73s  
  Γ£ô waiting queue entry cannot start an encounter                                                                0.72s  
  Γ£ô with clinician queue entry starts an encounter                                                               0.77s  
  Γ£ô nurse can open encounter but cannot sign                                                                     0.82s  
  Γ£ô draft can be saved and sections persist                                                                      0.73s  
  Γ£ô blank sections stay null not empty string                                                                    0.76s  
  Γ£ô empty note cannot be saved                                                                                   0.74s  
  Γ£ô draft author can edit their own draft                                                                        0.74s  
  Γ£ô signing a note makes it immutable                                                                            0.70s  
  Γ£ô doctor signs note with full attribution                                                                      0.74s  
  Γ£ô amendment preserves original and attributes both                                                             0.72s  
  Γ£ô amendment requires a reason                                                                                  0.72s  
  Γ£ô only signed note can be amended                                                                              0.71s  
  Γ£ô all four entry kinds can be recorded                                                                         0.76s  
  Γ£ô entries are locked after encounter closes                                                                    0.72s  
  Γ£ô entries are only editable by the recording clinician                                                         0.72s  
  Γ£ô closed encounter cannot be reopened or double closed                                                         0.77s  
  Γ£ô close encounter completes a linked checked in appointment                                                    0.71s  
  Γ£ô longitudinal record page renders for doctor                                                                  0.87s  
  Γ£ô receptionist cannot access the clinical workspace                                                            0.80s  
  Γ£ô imported notes display source label                                                                          0.85s  
  Γ£ô cannot save draft on a closed encounter                                                                      0.74s  
  Γ£ô tenant isolation a second tenant patient is not reachable                                                    0.71s  
  Γ£ô audit actions are recorded                                                                                   0.74s  

   PASS  Tests\Feature\ClinicalResultTest
  Γ£ô delivery records severity as delivered with the ordering clinician as owner                                  0.73s  
  Γ£ô unknown severity is refused and source is required                                                           0.72s  
  Γ£ô a retried delivery for the same order is refused                                                             0.72s  
  Γ£ô delivery is refused for an order that is not open                                                            0.71s  
  Γ£ô rejected delivery is retained escalated and keeps the order open                                             2.11s  
  Γ£ô rejected delivery requires a reason                                                                          0.71s  
  Γ£ô doctor may review but may not deliver a result                                                               0.70s  
  Γ£ô laboratory may deliver but may not review                                                                    0.66s  
  Γ£ô receptionist cannot review results                                                                           0.72s  
  Γ£ô acknowledge records the reviewer and blocks double acknowledgment                                            0.73s  
  Γ£ô action requires a note and follow up requires a due date                                                     0.74s  
  Γ£ô critical and abnormal cannot close without an actioned result                                                0.71s  
  Γ£ô normal result can close as reviewed                                                                          0.71s  
  Γ£ô only the owner or a reviewer may be assigned a result                                                        0.71s  
  Γ£ô owner can be reassigned before review                                                                        0.69s  
  Γ£ô overdue review escalates once and the escalation survives acknowledgment                                     0.72s  
  Γ£ô follow up outlives the closed encounter                                                                      0.72s  
  Γ£ô seeded results cover each review state                                                                       0.80s  
  Γ£ô worklist is open to reviewers and closed to reception                                                        2.02s  
  Γ£ô patient results page requires clinical access and scopes to the patient                                      1.26s  
  Γ£ô results of one tenant are invisible to another                                                               0.73s  
  Γ£ô delivery queue is open to the performing service                                                             0.87s  
  Γ£ô http delivery by the performing service lands awaiting review                                                0.66s  
  Γ£ô http delivery by unauthorised roles creates nothing                                                          0.72s  
  Γ£ô review lifecycle is audited                                                                                  0.67s  

   PASS  Tests\Feature\CredentialAndPrivilegesTest
  Γ£ô the credential register lists the seeded rows with derived currency                                          1.08s  
  Γ£ô the credential register filters by derived state                                                             1.47s  
  Γ£ô credential doors are closed to accounts that do not hold them                                                1.98s  
  Γ£ô the hr officer reads and records credentials                                                                 1.10s  
  Γ£ô a credential round trips through record and amend forms                                                      1.05s  
  Γ£ô the expiry cannot precede the issue date                                                                     0.89s  
  Γ£ô a credential number is unique per clinic                                                                     0.86s  
  Γ£ô recording a credential requires its fields                                                                   0.90s  
  Γ£ô another clinics credential does not resolve holding every door                                               0.90s  
  Γ£ô an edition without the staff module cannot open the credential register                                      0.90s  
  Γ£ô a status decision states its reason                                                                          0.87s  
  Γ£ô status decisions are audited and refuse a repeat                                                             0.96s  
  Γ£ô a suspended licence closes the practice doors and restores them                                              2.04s  
  Γ£ô an expired licence removes practice while the status stays active                                            1.06s  
  Γ£ô a certificate never gates practice even when stopped                                                         1.12s  
  Γ£ô a person with no credentials is not restricted                                                               1.14s  
  Γ£ô only licence typed credentials gate                                                                          0.93s  
  Γ£ô the profile reports practice standing from the holds                                                         1.56s  
  Γ£ô the privileges panel reads the live set and is not a side door into grants                                   1.51s  

   PASS  Tests\Feature\DashboardMetricsTest
  Γ£ô weekly slot total reconciles to the availability rows                                                        0.89s  
  Γ£ô weekday chart counts reconcile to the same rows                                                              0.77s  
  Γ£ô chart labels and values are structured for the data table                                                    0.80s  
  Γ£ô time off count reconciles to the override rows                                                               0.81s  
  Γ£ô active account count reconciles to the user rows                                                             0.80s  
  Γ£ô undelivered modules are listed rather than counted as features                                               0.81s  
  Γ£ô dashboard of a pharmacy admin shows only that organisations records                                          0.86s  
  Γ£ô audit chart is hidden without audit permission                                                               0.98s  
  Γ£ô manager dashboard renders every chart with a data table                                                      1.02s  

   PASS  Tests\Feature\DashboardPermissionGatingTest
  Γ£ô the patient sees no revenue figure anywhere on the dashboard                                                 1.10s  
  Γ£ô the revenue rows exist but are not computed for an unauthorised role                                         1.00s  
  Γ£ô the finance roles and the tenant administrator keep the revenue chart                                        1.46s  
  Γ£ô a clinician sees scheduling capacity but no clinic money                                                     1.33s  
  Γ£ô named staff leave is withheld from a role without leave view                                                 1.47s  
  Γ£ô roster capacity and foundation counts refuse a patient in words                                              1.06s  
  Γ£ô a refusal never masquerades as an empty clinic                                                               1.03s  
  Γ£ô every seeded role still renders the dashboard                                                                5.80s  

   PASS  Tests\Feature\DemoEnvironmentGuardTest
  Γ£ô local testing environment is permitted                                                                       0.02s  
  Γ£ô the guard refuses a shared database connection                                                               0.02s  
  Γ£ô the guard refuses a production environment                                                                   0.02s  
  Γ£ô the guard refuses a production url                                                                           0.02s  
  Γ£ô the guard throws when used assertively                                                                       0.02s  
  Γ£ô seed command is registered                                                                                   1.95s  
  Γ£ô sync modules command is registered                                                                           0.03s  

   PASS  Tests\Feature\DemoSeedingRendersTest
  Γ£ô the patient profile tabs render the seeded care record                                                       3.19s  
  Γ£ô the drug administration list shows both a given and an outstanding dose                                      1.46s  
  Γ£ô the ward register shows a matron and a location                                                              1.28s  
  Γ£ô the product catalogue is populated for the invoice picker                                                    1.33s  
  Γ£ô the invoice form offers the catalogue items for selection                                                    1.28s  
  Γ£ô the demo seeder can be run twice without error                                                               1.17s  

   PASS  Tests\Feature\DepositsAndCashierClosingTest
  Γ£ô taking a deposit holds money in the register and against the patient                                         1.07s  
  Γ£ô an identifier that matches no local patient takes no money                                                   0.78s  
  Γ£ô another clinic s patient cannot be held money against                                                        0.88s  
  Γ£ô taking a deposit is the collect permission not the view one                                                  1.01s  
  Γ£ô applying a deposit pays the invoice and records who applied it                                               0.93s  
  Γ£ô applying more than the deposit holds is refused and nothing moves                                            0.91s  
  Γ£ô an invoice that will not take the money takes no allocation                                                  0.90s  
  Γ£ô a deposit cannot be drained by a second application                                                          1.02s  
  Γ£ô the drawer is opened tagged and closed by its own cashier                                                    0.99s  
  Γ£ô the closing figure is a snapshot the register cannot later change                                            0.88s  
  Γ£ô one open shift per cashier and a closed shift never reopens                                                  0.94s  
  Γ£ô a held deposit goes back only through a second person                                                        0.93s  
  Γ£ô money already applied to an invoice cannot be refunded off the deposit                                       0.97s  
  Γ£ô the deposit and shift pages are closed to clinical accounts                                                  1.34s  
  Γ£ô a cashier can see the payer register but cannot write to it                                                  1.00s  
  Γ£ô another clinic s deposit is not reachable over http                                                          0.88s  
  Γ£ô the deposits page renders a held deposit with its apply form                                                 1.12s  
  Γ£ô the take deposit form offers registered payers with their type                                               1.37s  
  Γ£ô the shifts page renders the close form and the open form                                                     1.73s  
  Γ£ô the refunds page renders a deposit refund that has no invoice                                                1.19s  

   PASS  Tests\Feature\DrugAdministrationWorkflowTest
  Γ£ô a scheduled dose is recorded as administered                                                                 1.03s  
  Γ£ô a dose cannot be attributed to another clinician via the form                                                0.93s  
  Γ£ô a dose already given cannot be given twice                                                                   0.88s  
  Γ£ô a dose already given cannot be relabelled as missed                                                          0.87s  
  Γ£ô a dose already given cannot be relabelled as withheld                                                        1.21s  
  Γ£ô a dose already given cannot be cancelled                                                                     1.07s  
  Γ£ô a dose already given cannot have its details rewritten                                                       1.00s  
  Γ£ô a withheld dose records a reason                                                                             1.06s  
  Γ£ô an outstanding dose can be marked missed                                                                     0.96s  
  Γ£ô cancelling a dose retains the row for audit                                                                  0.99s  
  Γ£ô a patient cannot record any drug action                                                                      1.23s  
  Γ£ô another clinic drug action is not reachable at all                                                           0.87s  

   PASS  Tests\Feature\EmployeeAndLeaveTest
  Γ£ô the register lists the seeded staff and derives the on leave mark                                            1.02s  
  Γ£ô the register filters by lifecycle state                                                                      1.04s  
  Γ£ô personnel doors are closed to clinical and front desk accounts                                               2.27s  
  Γ£ô the hr officer reads and curates the register                                                                1.17s  
  Γ£ô a new employee round trips through the register forms                                                        1.30s  
  Γ£ô an employee number is unique per clinic                                                                      0.95s  
  Γ£ô termination names its day and un termination clears it                                                       0.93s  
  Γ£ô another clinics employee is not reachable holding every door                                                 0.87s  
  Γ£ô an edition without the staff module cannot open the register                                                 0.90s  
  Γ£ô the seeded register links staff to their signing in accounts                                                 0.83s  
  Γ£ô the leave page lists the seeded ledger only for the holding doors                                            1.17s  
  Γ£ô a request is recorded with its recorder and inclusive days                                                   0.86s  
  Γ£ô identical leave is not recorded twice                                                                        1.06s  
  Γ£ô a range ending before it starts is refused                                                                   0.96s  
  Γ£ô the recorder cannot decide their own request                                                                 0.92s  
  Γ£ô a second person approves and the decision is attributed                                                      0.90s  
  Γ£ô approval refuses days already approved                                                                       0.92s  
  Γ£ô a refusal keeps its stated reason and needs one                                                              1.20s  
  Γ£ô a decided row is never re decided                                                                            0.88s  
  Γ£ô a recorder withdraws their own request but not a decided one                                                 0.90s  
  Γ£ô cancelling someone elses request needs the decision door                                                     0.90s  
  Γ£ô terminated employees are not offered new leave                                                               0.92s  
  Γ£ô every transition is audited                                                                                  0.97s  
  Γ£ô employee changes are audited with attribution                                                                1.10s  

   PASS  Tests\Feature\ExampleTest
  Γ£ô the root redirects to the dashboard                                                                          0.03s  
  Γ£ô guests are sent to sign in when they reach the dashboard                                                     0.02s  
  Γ£ô the sign in screen renders for guests                                                                        0.02s  

   PASS  Tests\Feature\GrantManagementTest
  Γ£ô a role can be granted and takes effect immediately                                                           0.80s  
  Γ£ô a grant can be narrowed to a facility                                                                        0.73s  
  Γ£ô a grant can be narrowed to a department                                                                      0.74s  
  Γ£ô a grant can be time limited                                                                                  0.69s  
  Γ£ô a future start does not grant yet                                                                            0.68s  
  Γ£ô a grant never crosses a tenant                                                                               0.71s  
  Γ£ô an account from another tenant cannot be granted to                                                          0.67s  
  Γ£ô a facility from another tenant cannot be used as a scope                                                     0.65s  
  Γ£ô the identity administrator may delegate roles they do not hold                                               0.68s  
  Γ£ô a narrower access administrator cannot delegate beyond their reach                                           0.68s  
  Γ£ô a disabled account cannot be granted to                                                                      0.67s  
  Γ£ô the same role cannot be granted twice with the same scope                                                    0.64s  
  Γ£ô the same role at a different scope is a second grant                                                         0.74s  
  Γ£ô an expiry in the past is refused                                                                             0.70s  
  Γ£ô an expiry before the start is refused                                                                        0.67s  
  Γ£ô someone without roles manage cannot grant                                                                    0.69s  
  Γ£ô revoking ends access immediately and keeps the record                                                        0.65s  
  Γ£ô revoking without a reason is refused                                                                         0.66s  
  Γ£ô you cannot revoke your own access                                                                            0.65s  
  Γ£ô an already revoked grant cannot be revoked again                                                             0.70s  
  Γ£ô someone without roles manage cannot revoke                                                                   0.65s  
  Γ£ô the grant screen lists the accounts grants                                                                   1.88s  
  Γ£ô the grant screen is closed to someone who cannot manage                                                      0.76s  
  Γ£ô granting over http works                                                                                     0.67s  
  Γ£ô an account from another tenant is not reachable over http                                                    0.76s  
  Γ£ô revoking over http works                                                                                     0.82s  
  Γ£ô revoking over http requires a reason                                                                         0.77s  
  Γ£ô a permission marked not granted on a role is not honoured                                                    0.68s  

   PASS  Tests\Feature\GuardianProxyTest
  Γ£ô a guardian starts pending and grants nothing                                                                 0.72s  
  Γ£ô a verified guardian holds only its scopes                                                                    0.72s  
  Γ£ô an expired guardian loses access                                                                             0.68s  
  Γ£ô a revoked guardian loses access immediately                                                                  0.75s  
  Γ£ô revocation is recorded not erased                                                                            0.68s  
  Γ£ô a family relationship alone is not authority                                                                 0.68s  
  Γ£ô multiple guardians can hold different scopes                                                                 0.65s  
  Γ£ô guardian pages are permission gated                                                                          0.84s  
  Γ£ô guardian management is permission gated                                                                      0.90s  
  Γ£ô guardian data is not visible across tenants                                                                  0.69s  

   PASS  Tests\Feature\InvoiceApprovalTest
  Γ£ô the three finance people hold deliberately different invoice rights                                          0.96s  
  Γ£ô the supervisor cannot reach the propose edit door                                                            1.00s  
  Γ£ô the supervisor can reach the approval door                                                                   0.99s  
  Γ£ô a proposed edit is not applied until it is fully approved                                                    0.84s  
  Γ£ô a full double approval applies the change                                                                    0.88s  
  Γ£ô the initiator cannot give the first approval                                                                 0.88s  
  Γ£ô the initiator cannot give the second approval                                                                0.85s  
  Γ£ô the manager cannot be the same person as the supervisor                                                      0.81s  
  Γ£ô the manager step cannot run before the supervisor step                                                       0.85s  
  Γ£ô a rejection leaves the invoice unchanged                                                                     0.85s  
  Γ£ô a rejected request may be submitted again                                                                    0.88s  
  Γ£ô a second open request is refused for the same invoice                                                        0.83s  
  Γ£ô a rejection requires a reason                                                                                0.86s  
  Γ£ô an issued invoice cannot be edited                                                                           0.86s  
  Γ£ô a manager may propose an edit over http                                                                      0.99s  
  Γ£ô a non manager cannot propose an edit over http                                                               0.99s  
  Γ£ô a proposed amount below what is already paid is refused                                                      0.87s  
  Γ£ô the whole double approval runs over http                                                                     0.95s  

   PASS  Tests\Feature\InvoiceLifecycleTest
  Γ£ô the administrator can create a draft invoice                                                                 0.89s  
  Γ£ô a duplicate draft reference is rejected                                                                      0.90s  
  Γ£ô an issued invoice can be part paid then paid in full                                                         0.88s  
  Γ£ô a payment can never exceed the outstanding balance                                                           0.92s  
  Γ£ô a payment cannot be recorded against a draft                                                                 0.89s  
  Γ£ô a paid invoice can be voided and retains its history                                                         0.93s  
  Γ£ô a user without the invoice permission is denied                                                              0.99s  
  Γ£ô an issued invoice cannot be edited back into a draft                                                         0.87s  

   PASS  Tests\Feature\LabOrderCreateTest
  Γ£ô the lab order form renders for a doctor                                                                      1.37s  
  Γ£ô the lab order form offers the seeded laboratory tariffs                                                      1.10s  
  Γ£ô it offers only laboratory tariffs and not other groups                                                       1.02s  
  Γ£ô a doctor can reach the form but an unprivileged user cannot                                                  1.20s  
  Γ£ô it does not offer a tariff that is not yet effective                                                         1.02s  
  Γ£ô ordering a test links the tariff so the order is priced                                                      0.90s  
  Γ£ô a test cannot be ordered without choosing from the catalogue                                                 0.88s  
  Γ£ô a clinician cannot order a test from another tenants catalogue                                               0.87s  
  Γ£ô a test outside the laboratory group cannot be ordered here                                                   0.85s  

   PASS  Tests\Feature\LabReportAuthorisationTest
  Γ£ô a preliminary report is signed off as final                                                                  0.90s  
  Γ£ô an authorised report cannot be authorised twice                                                              0.87s  
  Γ£ô a front desk account reaching the route is refused by the service                                            0.86s  
  Γ£ô amending a final report leaves the signed original untouched                                                 0.88s  
  Γ£ô a preliminary report cannot be amended                                                                       0.84s  
  Γ£ô amending without a reason is refused                                                                         0.89s  
  Γ£ô a blank reason is refused even when the field is present                                                     0.89s  
  Γ£ô a doctor without authorise cannot sign off or amend                                                          0.86s  
  Γ£ô another clinics report is not reachable                                                                      0.89s  
  Γ£ô an amendment arrives unsigned and cannot be signed off                                                       0.88s  
  Γ£ô the amended row is the current result                                                                        1.47s  
  Γ£ô a superseded report cannot be amended again                                                                  0.89s  
  Γ£ô a correction can be corrected in turn                                                                        0.86s  
  Γ£ô the review worklist carries the authorised value                                                             1.21s  
  Γ£ô an amendment reaches the review worklist                                                                     0.88s  
  Γ£ô the authorise control is rendered for the account the service accepts                                        1.13s  
  Γ£ô the authorise control is withheld from the account the service refuses                                       1.11s  
  Γ£ô the amend form is offered only once the report is signed                                                     1.13s  
  Γ£ô each worklist tab labels the list it is showing                                                              1.35s  

   PASS  Tests\Feature\LoginTest
  Γ£ô admin can sign in and reach the dashboard                                                                    1.05s  
  Γ£ô a self service account signs in without a second factor                                                      0.68s  
  Γ£ô wrong password does not reveal account existence                                                             0.79s  
  Γ£ô unknown address gets the same message                                                                        0.68s  
  Γ£ô disabled account cannot sign in                                                                              0.65s  
  Γ£ô suspended tenant blocks sign in                                                                              0.69s  
  Γ£ô successful sign in is audited                                                                                0.63s  
  Γ£ô a completed second factor is audited                                                                         0.69s  

   PASS  Tests\Feature\MfaFlowTest
  Γ£ô the generated secret is base32 and of sufficient entropy                                                     0.77s  
  Γ£ô the provisioning uri is machine readable                                                                     0.78s  
  Γ£ô a valid code passes and an invalid one fails                                                                 0.73s  
  Γ£ô enrolment stores the secret encrypted                                                                        0.70s  
  Γ£ô recovery codes are generated hashed and single use                                                           0.72s  
  Γ£ô the password alone does not sign in an mfa account                                                           0.72s  
  Γ£ô a valid code completes sign in                                                                               0.86s  
  Γ£ô a recovery code completes sign in and is consumed                                                            0.75s  
  Γ£ô an invalid code does not sign in and is audited                                                              0.64s  
  Γ£ô repeated bad codes lock the challenge                                                                        0.76s  
  Γ£ô an unenrolled privileged account is blocked until it enrols                                                  0.69s  
  Γ£ô enrolment requires a correct code before it activates                                                        1.08s  
  Γ£ô enrolment completes and reveals recovery codes once                                                          0.80s  
  Γ£ô self service accounts are exempt from mfa                                                                    0.79s  
  Γ£ô administrator can reset another accounts mfa                                                                17.80s  
  Γ£ô a role without permission cannot reset mfa                                                                   0.85s  
  Γ£ô an account cannot reset its own mfa through the admin route                                                  0.64s  
  Γ£ô the challenge page reveals nothing about the record                                                          0.84s  
  Γ£ô signing out clears the second factor session                                                                 0.72s  
  Γ£ô the users page reports the real mfa posture                                                                  0.90s  
  Γ£ô the demo code endpoint is unavailable outside the demo environment                                           0.80s  

   WARN  Tests\Feature\MigrationForeignKeyTest
  Γ£ô no foreign key references a table that does not exist                                                        0.05s  
  Γ£ô the only out of order foreign keys are the known ones                                                        0.03s  
  Γ£ô no bare constrained resolves to a table that does not exist                                                  0.04s  
  - the polymorphic allocation column has no foreign key ΓåÆ payment_allocations no longer exists in the forwardΓÇª  0.19s  

   PASS  Tests\Feature\ModuleRegistryTest
  Γ£ô all declared modules are registered                                                                          0.75s  
  Γ£ô a module with an undelivered dependency cannot be enabled                                                    0.68s  
  Γ£ô require resolvable rejects an undelivered module                                                             0.70s  
  Γ£ô require resolvable rejects a missing dependency                                                              0.66s  
  Γ£ô core modules are always enabled                                                                              0.68s  
  Γ£ô pharmacy edition does not receive clinical modules                                                           0.68s  
  Γ£ô disabling a module removes it from the tenant                                                                0.68s  
  Γ£ô a disabled module cannot be used through a direct route                                                      0.84s  
  Γ£ô edition bundle is applied once                                                                               0.64s  
  Γ£ô module declarations carry traceable requirement ids                                                          0.68s  

   PASS  Tests\Feature\NutritionWorkspaceTest
  Γ£ô the nutrition professional can open the department workspace                                                 2.43s  
  Γ£ô the workspace shows the configured department                                                                0.78s  
  Γ£ô the work queue is honest about what is not delivered                                                         0.78s  
  Γ£ô a cashier cannot reach the nutrition workspace                                                               0.79s  
  Γ£ô a patient cannot reach the nutrition workspace                                                               0.77s  
  Γ£ô an unenrolled privileged account is sent to setup before any other page                                      0.70s  
  Γ£ô the pharmacy edition enables the nutrition department                                                        0.65s  
  Γ£ô nutrition workspace access is moduled as well as permissioned                                                0.77s  

   PASS  Tests\Feature\PatientIndexTest
  Γ£ô record numbers are tenant scoped and sequential                                                              0.63s  
  Γ£ô unknown facts are never defaulted                                                                            0.67s  
  Γ£ô partial dates of birth are labelled not invented                                                             0.79s  
  Γ£ô a merged record is not found by search                                                                       0.80s  
  Γ£ô a search finds a patient by name                                                                             0.69s  
  Γ£ô a search finds a patient by phone and record number                                                          0.63s  
  Γ£ô a search finds a patient by a recorded identifier                                                            0.65s  
  Γ£ô a search never reaches another tenant                                                                        0.71s  
  Γ£ô an empty search returns nothing                                                                              0.70s  
  Γ£ô a search is audited                                                                                          0.66s  
  Γ£ô duplicate detection proposes but never merges                                                                0.65s  
  Γ£ô a weak similarity is not reported as a duplicate                                                             0.64s  
  Γ£ô registering a patient creates a reviewable candidate                                                         0.65s  
  Γ£ô registering the same patient twice does not duplicate the review                                             0.64s  
  Γ£ô a merge is attributed audited and reversible                                                                 0.65s  
  Γ£ô a merge requires a reason                                                                                    0.65s  
  Γ£ô a record cannot be merged into itself                                                                        0.61s  
  Γ£ô an already merged record cannot be merged again                                                              0.62s  
  Γ£ô an unmerge requires a reason and a merged record                                                             0.60s  
  Γ£ô an unknown emergency patient is a temporary identity                                                         0.66s  
  Γ£ô a merged record keeps its history                                                                            0.63s  
  Γ£ô patient pages are permission gated                                                                           1.10s  
  Γ£ô patient pages are tenant gated                                                                               0.84s  

   PASS  Tests\Feature\PatientPortalIsolationTest
  Γ£ô the demo tenant portal is not an edition change                                                              0.68s  
  Γ£ô the second tenant patient sees her own record and nobody elses                                               0.74s  
  Γ£ô the same display name in both tenants never crosses                                                          0.65s  
  Γ£ô the second tenant patient books with her own clinician                                                       0.73s  

   PASS  Tests\Feature\PatientUserLinkTest
  Γ£ô an email match alone binds nothing                                                                           0.63s  
  Γ£ô an mrn lookup alone binds nothing                                                                            0.66s  
  Γ£ô a pending request grants nothing                                                                             0.60s  
  Γ£ô confirmation must come from a second person                                                                  0.65s  
  Γ£ô the requester cannot confirm their own request                                                               0.65s  
  Γ£ô the account under review cannot confirm its own binding                                                      0.60s  
  Γ£ô revocation ends access and keeps the record                                                                  0.66s  
  Γ£ô expiry stops resolution without any sweep                                                                    0.75s  
  Γ£ô an expired binding can be replaced by a new one                                                              0.66s  
  Γ£ô an account cannot be bound to two patients at once                                                           0.66s  
  Γ£ô a login cannot be bound across clinics                                                                       0.68s  
  Γ£ô a staff login cannot be bound to a record                                                                    0.66s  
  Γ£ô binding and revoking are both audited                                                                        0.64s  
  Γ£ô the seeded demo binding is created by two people                                                             0.66s  
  Γ£ô the screen creates only a pending request                                                                    0.77s  
  Γ£ô the requester is refused as confirmer on screen too                                                          0.66s  
  Γ£ô a login without the amend permission cannot touch bindings                                                   0.88s  
  Γ£ô a link of another patient is not reachable through this record                                               0.67s  
  Γ£ô revoking from the screen keeps the row with who did it                                                       0.63s  

   PASS  Tests\Feature\PatientWalletAccessTest
  Γ£ô a bound login reaches the patient wallet it is bound to                                                      0.93s  
  Γ£ô an unbound login reaches no wallet at all                                                                    0.96s  
  Γ£ô a bound login cannot open another patients wallet                                                            0.85s  
  Γ£ô revoking the binding closes the wallet on the next request                                                   1.07s  
  Γ£ô the till still reads and the ward still cannot                                                               1.06s  
  Γ£ô a bound login raises a qr against its own outstanding invoice                                                0.87s  
  Γ£ô a binding cannot reach another clinics wallet                                                                0.81s  
  Γ£ô the pharmacy demo tenant keeps the wallet module closed                                                      0.85s  

   PASS  Tests\Feature\PaymentAdapterTest
  Γ£ô the administrator can register a sandbox adapter                                                             0.84s  
  Γ£ô a gateway can only be configured once per mode and tenant                                                    0.82s  
  Γ£ô the adapter show page never renders the secret key                                                           1.16s  
  Γ£ô a user without the payment adapter permission is denied                                                      0.97s  

   PASS  Tests\Feature\PaymentCollectionTest
  Γ£ô an account number is ten digits and unique within the tenant                                                 0.81s  
  Γ£ô the same patient never gets a second account                                                                 0.82s  
  Γ£ô a staff wallet is also given an account number                                                               0.81s  
  Γ£ô a card can be issued against a patient account                                                               0.84s  
  Γ£ô an account number from another tenant resolves to nothing                                                    0.82s  
  Γ£ô an invoice number resolves to that invoices payer                                                            0.82s  
  Γ£ô a patient number resolves to that patients invoices                                                          0.80s  
  Γ£ô a ten digit account number resolves to the same payer                                                        0.80s  
  Γ£ô an unknown number resolves to nothing                                                                        0.79s  
  Γ£ô a patient number from another tenant resolves to nothing                                                     0.79s  
  Γ£ô an invoice reference is matched exactly and not by prefix                                                    0.84s  
  Γ£ô one collection settles several invoices and writes one row each                                              0.89s  
  Γ£ô paying everything in full marks each invoice paid                                                            0.80s  
  Γ£ô more than an invoice owes is refused and nothing is written                                                  0.82s  
  Γ£ô a refused line rolls back the whole collection                                                               0.83s  
  Γ£ô a line cannot name an invoice owed by someone else                                                           0.81s  
  Γ£ô an invoice from another tenant cannot be named at all                                                        0.81s  
  Γ£ô collecting from the payers account debits it once                                                            1.09s  
  Γ£ô an account cannot be collected past its balance                                                              0.83s  
  Γ£ô a payment point that does not accept the method refuses it                                                   0.78s  
  Γ£ô an inactive payment point refuses to collect                                                                 0.85s  
  Γ£ô an account may not be empty                                                                                  0.79s  
  Γ£ô a wallet funded collection records a valid invoice payment channel                                           0.83s  
  Γ£ô the same invoice cannot be listed twice in one collection                                                    0.81s  
  Γ£ô the till screen lists a payers invoices for an authenticated cashier                                         0.92s  
  Γ£ô the till screen offers the settled and draft invoices nothing                                                0.92s  
  Γ£ô the till screen reports an unknown number without disclosing anything                                        0.99s  
  Γ£ô collecting over http settles the invoice and shows a receipt                                                 1.04s  
  Γ£ô a receipt can be reopened by its reference                                                                   0.95s  
  Γ£ô another clinics receipt reference reopens nothing                                                            0.82s  
  Γ£ô only the finance roles can open the till                                                                     1.90s  
  Γ£ô a user without collect rights cannot open the till                                                           0.93s  
  Γ£ô a user without collect rights cannot post a collection                                                       1.02s  
  Γ£ô the legacy payment point collect door is gated too                                                           0.97s  
  Γ£ô a cashier cannot point the till at another clinics patient                                                   0.83s  

   WARN  Tests\Feature\QrPaymentTest
  Γ£ô creating an invoice auto issues a qr code                                                                    0.91s  
  Γ£ô an invoice that becomes payable gets a qr code                                                               0.92s  
  Γ£ô transitioning a draft to issued issues a qr code                                                             0.81s  
  Γ£ô a draft invoice is not issued a qr code                                                                      0.79s  
  Γ£ô every payable invoice in the demo data has a qr code                                                         0.84s  
  Γ£ô voiding an invoice retires its active qr code                                                                0.81s  
  Γ£ô a settled invoice is not issued a qr code                                                                    0.82s  
  Γ£ô a qr code can be scanned at a payment point                                                                  0.80s  
  Γ£ô a qr code cannot be used twice                                                                               0.87s  
  Γ£ô an expired qr code is refused and marked expired                                                             0.81s  
  Γ£ô the qr screen renders a real qr image                                                                        0.92s  
  Γ£ô the wallet screen links to qr creation                                                                       0.92s  
  Γ£ô the qr create screen offers the outstanding invoices                                                         0.94s  
  Γ£ô a qr code can be created for an outstanding invoice                                                          0.86s  
  Γ£ô a qr code can be created for a specific amount                                                               0.81s  
  - a qr code cannot be raised against another patients invoice ΓåÆ Fixture needs a second patient with a payableΓÇª 0.80s  
  Γ£ô a qr code cannot be raised against a settled invoice                                                         0.79s  
  Γ£ô a qr code requires an amount or an invoice                                                                   0.81s  
  Γ£ô a qr code from another clinic does not resolve across tenants                                                0.80s  

   PASS  Tests\Feature\QueueJourneyTest
  Γ£ô check in from appointment creates a waiting queue entry                                                      0.62s  
  Γ£ô double check in is rejected                                                                                  0.64s  
  Γ£ô check in of a cancelled appointment is rejected                                                              0.67s  
  Γ£ô walk in enters the waiting stage without an appointment                                                      0.59s  
  Γ£ô emergency walk in bypasses the waiting stage                                                                 0.62s  
  Γ£ô queue numbers are sequential per day                                                                         0.63s  
  Γ£ô call next moves from waiting to with clinician                                                               0.65s  
  Γ£ô call next rejects a non waiting entry                                                                        0.66s  
  Γ£ô complete finishes the entry and the linked appointment                                                       0.75s  
  Γ£ô complete rejects a waiting entry                                                                             0.64s  
  Γ£ô no show finishes a waiting entry and the appointment                                                         0.64s  
  Γ£ô cancel requires a reason and frees the appointment                                                           0.65s  
  Γ£ô stage transitions are audited                                                                                0.68s  
  Γ£ô queue view requires view permission                                                                          0.73s  
  Γ£ô queue index renders for reception                                                                            0.83s  
  Γ£ô queue board shows token and initials                                                                         0.76s  
  Γ£ô tenant isolation on queue entries                                                                            0.76s  
  Γ£ô walk in requires manage permission                                                                           0.73s  

   PASS  Tests\Feature\ReferralCoordinationTest
  Γ£ô requesting an external referral records consent owner and timeline                                           0.69s  
  Γ£ô request requires patient consent                                                                             0.67s  
  Γ£ô legally permitted exception requires a reason                                                                0.65s  
  Γ£ô external referral must name the provider                                                                     0.66s  
  Γ£ô internal referral must target a known department                                                             0.62s  
  Γ£ô only the patient s own records can be disclosed                                                              0.64s  
  Γ£ô attachment labels are frozen at request time                                                                 0.61s  
  Γ£ô internal referral appears incoming and can be accepted by the department                                     0.66s  
  Γ£ô the requester cannot accept their own referral                                                               0.62s  
  Γ£ô a role without department permission cannot accept                                                           0.61s  
  Γ£ô an external referral is not accepted in app                                                                  0.66s  
  Γ£ô schedule requires an accepted referral                                                                       0.65s  
  Γ£ô scheduling records the slot                                                                                  0.62s  
  Γ£ô complete records an outcome and closes the referral                                                          0.67s  
  Γ£ô complete requires a recorded outcome                                                                         0.62s  
  Γ£ô decline requires a reason and is terminal                                                                    0.64s  
  Γ£ô return sends an accepted referral back with its reason                                                       0.67s  
  Γ£ô a closed referral is immutable                                                                               0.66s  
  Γ£ô an overdue chase is materialised once and surfaces                                                           0.69s  
  Γ£ô external requests reach the sandbox outbox and internal ones do not                                          0.76s  
  Γ£ô receptionist is denied the referrals worklist                                                                0.80s  
  Γ£ô doctor opens the worklist and the patient record form                                                        1.54s  
  Γ£ô http requesting a referral lands and redirects                                                               0.84s  
  Γ£ô results of one tenant are invisible to another                                                               0.63s  
  Γ£ô lifecycle actions are audited                                                                                0.69s  
  Γ£ô seed sample covers the whole lifecycle                                                                       0.74s  
  Γ£ô seeded overdue chase surfaces on the worklist                                                                0.83s  
  Γ£ô attachments are locked once the referral is closed                                                           0.68s  
  Γ£ô stranger roles cannot manage referrals                                                                       0.63s  
  Γ£ô reference is unique per tenant                                                                               0.68s  

   PASS  Tests\Feature\RefundsAndCreditNotesTest
  Γ£ô a fresh seed gives every paid demo invoice a till row to refund                                              0.83s  
  Γ£ô a cashier requests a refund and nothing moves until it is approved                                           0.89s  
  Γ£ô a supervisors approval performs the reversal                                                                 0.99s  
  Γ£ô the approver must be a different person from the requester                                                   0.84s  
  Γ£ô the cashier sees the review page but cannot approve                                                          1.09s  
  Γ£ô a wallet paid amount is credited back to the same wallet                                                     0.87s  
  Γ£ô a refund cannot exceed what is still refundable                                                              0.90s  
  Γ£ô a rejected refund moves nothing and records the reason                                                       0.95s  
  Γ£ô a nurse cannot raise a refund at all                                                                         0.97s  
  Γ£ô a foreign transaction cannot be attached and a foreign request cannot be seen                                0.95s  
  Γ£ô a credit note reduces what the till will accept                                                              1.06s  
  Γ£ô a credit note that settles the invoice alone still settles it                                                0.84s  
  Γ£ô voiding a credit note restores the balance and the status                                                    0.89s  
  Γ£ô a settled invoice gets a refund not a credit note                                                            0.85s  
  Γ£ô a credit note cannot exceed what is still owed                                                               0.87s  
  Γ£ô the dashboards outstanding figure nets off credit notes                                                      1.15s  

   PASS  Tests\Feature\SandboxPaymentPolicyTest
  Γ£ô the application makes no outbound http calls                                                                 1.97s  
  Γ£ô the cards table cannot hold a full card number or cvv                                                        0.02s  
  Γ£ô issuing a card persists only a mask and a uid                                                                0.69s  
  Γ£ô the demo login harness is disabled outside a demo environment                                                0.02s  
  Γ£ô sandbox status does not relax the overdraft guard                                                            0.65s  

   PASS  Tests\Feature\ServiceTariffCatalogueTest
  Γ£ô the catalogue lists published tariffs with currency                                                          0.95s  
  Γ£ô the catalogue filters by group                                                                               0.96s  
  Γ£ô the invoice form offers effective tariffs                                                                    0.96s  
  Γ£ô every seeded tariff is versioned and published                                                               0.92s  

   PASS  Tests\Feature\SpecimenLifecycleTest
  Γ£ô registration allocates a barcode and binds the patient                                                       0.70s  
  Γ£ô registration accepts a patient supplied barcode but refuses a duplicate                                      0.61s  
  Γ£ô registration refuses a specimen type outside the known list                                                  0.66s  
  Γ£ô registration refuses an order belonging to another patient                                                   0.62s  
  Γ£ô registration refuses a terminal order                                                                        0.62s  
  Γ£ô collection starts the linked order                                                                           0.61s  
  Γ£ô collecting twice is refused                                                                                  0.69s  
  Γ£ô a future collection time is refused                                                                          0.65s  
  Γ£ô receipt requires a collected specimen and happens once                                                       0.63s  
  Γ£ô a specimen cannot be received twice                                                                          0.68s  
  Γ£ô storage requires a location and a received specimen                                                          0.61s  
  Γ£ô storage records the location and retention date                                                              0.67s  
  Γ£ô transport annotates the chain without changing custody status                                                0.68s  
  Γ£ô transport requires a destination                                                                             0.61s  
  Γ£ô rejection requires a reason code and detail and retains the row                                              0.74s  
  Γ£ô rejection without detail is refused                                                                          0.79s  
  Γ£ô recollection creates a new specimen and leaves the rejected one intact                                       0.70s  
  Γ£ô only a rejected specimen can be recollected                                                                  0.70s  
  Γ£ô a rejected specimen is recollected only once                                                                 0.67s  
  Γ£ô an aliquot inherits the patient and collection time                                                          0.65s  
  Γ£ô an aliquot cannot be taken before the material reaches the laboratory                                        0.66s  
  Γ£ô an aliquot volume must be positive                                                                           0.76s  
  Γ£ô disposal is terminal and attributed                                                                          0.69s  
  Γ£ô disposal requires a method and a reason                                                                      0.63s  
  Γ£ô a specimen with an outstanding aliquot cannot be disposed                                                    0.66s  
  Γ£ô a collected but unreceived specimen cannot be disposed                                                       0.61s  
  Γ£ô a rejected specimen refuses every further transition                                                         0.67s  
  Γ£ô a terminal specimen cannot be edited through the model                                                       0.77s  
  Γ£ô the custody trail is ordered and attributed                                                                  0.73s  
  Γ£ô every movement is audited                                                                                    0.70s  
  Γ£ô a clinician without the collection verb cannot register                                                      0.63s  
  Γ£ô the nurse can collect but not work the bench                                                                 0.62s  
  Γ£ô specimens of one tenant are invisible to another                                                             0.62s  
  Γ£ô the laboratory worklist opens and renders the custody record                                                 2.06s  
  Γ£ô a role without the view permission is denied the worklist                                                    0.76s  
  Γ£ô the laboratory scientist is offered the bench actions                                                        0.74s  
  Γ£ô the nurse sees only the collection action                                                                    0.77s  
  Γ£ô a viewer without the process verb is told they cannot act                                                    0.90s  
  Γ£ô http registration and the full reception flow                                                                0.98s  
  Γ£ô an acting clinician without the verb is refused at the route                                                 0.74s  
  Γ£ô a user with patient access but no diagnostics verb is refused the bench                                      0.73s  
  Γ£ô a user of another tenant cannot reach the bench                                                              0.70s  
  Γ£ô a specimen outside the active tenant context is unbindable                                                   0.64s  

   PASS  Tests\Feature\SplitPaymentsAndSponsorshipTest
  Γ£ô tenders that add up exactly take the money and leave one row per tender                                      0.93s  
  Γ£ô tenders that do not add up are refused and write nothing                                                     0.79s  
  Γ£ô the till form shape with blank rows is dropped not refused                                                   0.82s  
  Γ£ô an unticked invoice posting no amount is left alone not refused                                              0.89s  
  Γ£ô more than three ways of paying are refused                                                                   0.81s  
  Γ£ô a tender cannot claim a payer that does not sponsor this patient                                             0.79s  
  Γ£ô a retired payer may not pay a bill even when enrolled                                                        0.76s  
  Γ£ô a legacy single method call still takes the whole amount                                                     0.80s  
  Γ£ô a sponsors share is promise and the invoice still owes it                                                    0.84s  
  Γ£ô the patient cannot pay a slice a sponsor was already promise                                                 0.84s  
  Γ£ô a share may not exceed the unclaimed balance so two promises cannot overlap                                  0.81s  
  Γ£ô the credit limit is enforced across everything already promised                                              0.89s  
  Γ£ô sponsor money coming in settles the promise it was promised under                                            0.94s  
  Γ£ô sponsor money settles promise fifo so an old promise clears before a new one                                 0.84s  
  Γ£ô releasing a promise frees the money but keeps the row                                                        0.79s  
  Γ£ô ending an enrolment stops new promises but keeps existing ones collectable                                   0.80s  
  Γ£ô an enrolment may not be written over another clinic                                                          0.82s  
  Γ£ô the sponsorships page is readable by finance but only may enrol under deposits manage                        1.03s  
  Γ£ô a clinician cannot read sponsorships at all                                                                  0.99s  
  Γ£ô another clinic cannot see or write these enrolments                                                          0.78s  
  Γ£ô an administrator may enrol end and release                                                                   0.84s  
  Γ£ô a collection taken during an open shift is tagged to that shift                                              0.86s  
  Γ£ô expected cash counts only the cash channel and is reduced by cash refunds                                    0.90s  
  Γ£ô closing counts the drawer not the total taken                                                                0.84s  

   PASS  Tests\Feature\TenantIsolationTest
  Γ£ô tenant a context sees only tenant a users                                                                    0.64s  
  Γ£ô tenant b context sees only tenant b users                                                                    0.67s  
  Γ£ô same display name in two tenants does not leak                                                               0.61s  
  Γ£ô unresolved context denies every row                                                                          0.63s  
  Γ£ô finding a foreign record by key is denied                                                                    0.64s  
  Γ£ô relations stay inside the tenant                                                                             0.64s  
  Γ£ô platform accounts are invisible to a tenant context                                                          0.57s  
  Γ£ô dashboard of one tenant does not show the other tenants records                                              0.94s  
  Γ£ô users listing of one tenant excludes the other tenant                                                        0.83s  
  Γ£ô audit reads are scoped to the requesting tenant                                                              0.63s  

   PASS  Tests\Feature\UngatedRouteGuardTest
  Γ£ô a patient cannot reach with data set "payment points index"                                                  0.90s  
  Γ£ô a patient cannot reach with data set "payment points create form"                                            0.96s  
  Γ£ô a patient cannot reach with data set "payment points edit"                                                   0.92s  
  Γ£ô a patient cannot reach with data set "wards index"                                                           0.89s  
  Γ£ô a patient cannot reach with data set "wards create form"                                                     0.93s  
  Γ£ô a patient cannot reach with data set "wards edit"                                                            0.88s  
  Γ£ô a patient cannot reach with data set "tariffs index"                                                         1.02s  
  Γ£ô a patient cannot reach with data set "tariffs create form"                                                   0.94s  
  Γ£ô a patient cannot reach with data set "tariffs edit"                                                          0.95s  
  Γ£ô a patient cannot reach with data set "product catalogue index"                                               0.92s  
  Γ£ô a patient cannot reach with data set "product catalogue create form"                                         0.93s  
  Γ£ô a patient cannot reach with data set "product catalogue edit"                                                0.93s  
  Γ£ô a patient cannot reach with data set "drug administrations index"                                            0.95s  
  Γ£ô a patient cannot reach with data set "drug administrations create form"                                      0.91s  
  Γ£ô a patient cannot reach with data set "drug administrations edit"                                             0.88s  
  Γ£ô a patient cannot reach with data set "another patients wallet"                                               0.82s  
  Γ£ô a patient cannot reach with data set "another patients wallet edit"                                          0.83s  
  Γ£ô a patient cannot reach with data set "another patients q r codes"                                            0.83s  
  Γ£ô a patient cannot reach with data set "another patients q r create form"                                      0.78s  
  Γ£ô a patient cannot reach with data set "another accounts card"                                                 0.82s  
  Γ£ô a patient cannot reach with data set "another accounts card edit"                                            0.80s  
  Γ£ô a patient cannot reach with data set "staff register"                                                        0.89s  
  Γ£ô a patient cannot reach with data set "staff create form"                                                     0.89s  
  Γ£ô a patient cannot reach with data set "staff profile"                                                         0.91s  
  Γ£ô a patient cannot reach with data set "staff edit form"                                                       0.92s  
  Γ£ô a patient cannot reach with data set "leave ledger"                                                          0.91s  
  Γ£ô a patient cannot reach with data set "credential register"                                                   0.88s  
  Γ£ô a patient cannot reach with data set "credential create form"                                                0.91s  
  Γ£ô a patient cannot reach with data set "credential profile"                                                    0.93s  
  Γ£ô a patient cannot reach with data set "credential edit form"                                                  0.90s  
  Γ£ô a patient cannot write to the product catalogue                                                              0.88s  
  Γ£ô a patient cannot rename a ward                                                                               0.85s  
  Γ£ô the patient keeps their own wallet and card door                                                             1.16s  
  Γ£ô a patient cannot read a qr code issued to someone else                                                       0.82s  
  Γ£ô the administrator still administers                                                                          1.66s  
  Γ£ô the till operator sees prices but cannot change them                                                         1.42s  
  Γ£ô the clinician reaches the clinical screens the administrator cannot                                          1.07s  
  Γ£ô a foreign clinic cannot read a ward even holding the permission                                              0.77s  

   PASS  Tests\Feature\VitalsEditRoundTripTest
  Γ£ô a doctor can open the vitals edit form                                                                       1.31s  
  Γ£ô a doctor can save a vitals change                                                                            0.84s  
  Γ£ô a nurse can save a vitals change                                                                             0.84s  
  Γ£ô an amendment cannot reassign who recorded the reading                                                        0.86s  
  Γ£ô a front desk account cannot read or change a vital                                                           1.03s  
  Γ£ô a patient cannot amend a chart even their own                                                                1.04s  
  Γ£ô another clinics vital is not editable                                                                        0.97s  
  Γ£ô a vital cannot be amended through a different patients url                                                   0.85s  
  Γ£ô an impossible reading is refused and does not overwrite the chart                                            0.84s  

   PASS  Tests\Feature\WalletPaymentTest
  Γ£ô a wallet is created on first access and starts empty                                                         0.77s  
  Γ£ô a credit increases the balance and is recorded                                                               0.83s  
  Γ£ô a debit reduces the balance                                                                                  0.93s  
  Γ£ô a credit of zero or less is refused                                                                          0.82s  
  Γ£ô a debit of zero or less is refused                                                                           0.86s  
  Γ£ô a wallet cannot be overdrawn                                                                                 0.80s  
  Γ£ô an inactive wallet cannot be spent from                                                                      0.82s  
  Γ£ô an issued card is masked and carries no full pan                                                             0.90s  
  Γ£ô tap to pay debits the card wallet at the payment point                                                       0.97s  
  Γ£ô a frozen card cannot be used for tap to pay                                                                  0.86s  
  Γ£ô a qr scan deducts from the wallet                                                                            0.82s  
  Γ£ô a qr code cannot be reused                                                                                   0.83s  
  Γ£ô an expired qr code is refused and marked expired                                                             0.87s  
  Γ£ô cash collection records against the invoice without touching a wallet                                        0.94s  
  Γ£ô an unknown payment method is refused                                                                         0.86s  
  Γ£ô a payment point cannot collect a non positive amount                                                         0.78s  
  Γ£ô wallet transactions are not reachable from another tenant                                                    0.78s  
  Γ£ô a card is not reachable from another tenant                                                                  0.82s  
  Γ£ô a qr code is not reachable from another tenant                                                               0.82s  

   PASS  Tests\Feature\WardAndPatientStatusTest
  Γ£ô a ward can be created with a matron and location                                                             0.89s  
  Γ£ô a ward can be amended                                                                                        1.03s  
  Γ£ô a ward cannot name another clinics staff member as matron                                                    1.09s  
  Γ£ô a ward cannot be reassigned to a foreign matron by amendment                                                 0.85s  
  Γ£ô a ward from another clinic is not readable                                                                   0.84s  
  Γ£ô the ward index renders with the seeded wards                                                                 0.93s  
  Γ£ô emergency contact and health status round trip                                                               0.86s  
  Γ£ô emergency contact can be cleared                                                                             3.07s  
  Γ£ô another clinics patient is not editable                                                                      3.56s  
  Γ£ô the patient record shows the seeded emergency contact                                                        4.19s  
  Γ£ô the patient edit form offers the emergency contact and status fields                                         3.86s  
  Γ£ô the registration form carries the emergency contact and store persists them                                  3.02s  
  Γ£ô a patient can be edited with the date of birth left blank                                                    2.41s  

  Tests:    2 skipped, 813 passed (3600 assertions)
  Duration: 779.92s

