Bugzilla – Attachment 156504 Details for
Bug 32474
Implement infinite scroll in vue-select
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32474: Adjust tests
Bug-32474-Adjust-tests.patch (text/plain), 2.60 KB, created by
Jonathan Druart
on 2023-10-03 14:32:22 UTC
(
hide
)
Description:
Bug 32474: Adjust tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-10-03 14:32:22 UTC
Size:
2.60 KB
patch
obsolete
>From a7a764cea2384305818904b11022d91faef1231c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 3 Oct 2023 16:30:46 +0200 >Subject: [PATCH] Bug 32474: Adjust tests > >We need to use the same data, for instance we had "license name" and >"first license name" for the license with license_id=1 >--- > t/cypress/integration/ERM/Agreements_spec.ts | 26 +++++++------------- > 1 file changed, 9 insertions(+), 17 deletions(-) > >diff --git a/t/cypress/integration/ERM/Agreements_spec.ts b/t/cypress/integration/ERM/Agreements_spec.ts >index ddb9e5f1fec..dcd25555f3c 100644 >--- a/t/cypress/integration/ERM/Agreements_spec.ts >+++ b/t/cypress/integration/ERM/Agreements_spec.ts >@@ -9,6 +9,7 @@ const dates = { > tomorrow_us: dayjs().add(1, "day").format("MM/DD/YYYY"), > }; > function get_agreement() { >+ let licenses = get_licenses_to_relate(); > return { > agreement_id: 1, > closure_reason: "", >@@ -39,14 +40,8 @@ function get_agreement() { > { > agreement_id: 1, > agreement_license_id: 3, >- license: { >- description: "license description", >- license_id: 1, >- name: "license name", >- status: "expired", >- type: "alliance", >- }, >- license_id: 1, >+ license: licenses[0], >+ license_id: licenses[0].license_id, > notes: "license notes", > physical_location: "cupboard", > status: "controlling", >@@ -55,14 +50,8 @@ function get_agreement() { > { > agreement_id: 1, > agreement_license_id: 4, >- license: { >- description: "second license description", >- license_id: 2, >- name: "second license name", >- status: "expired", >- type: "alliance", >- }, >- license_id: 2, >+ license: licenses[1], >+ license_id: licenses[1].license_id, > notes: "second license notes", > physical_location: "cupboard", > status: "future", >@@ -101,8 +90,11 @@ function get_licenses_to_relate() { > return [ > { > license_id: 1, >- description: "a license", >+ description: "license description", >+ license_id: 1, > name: "first license name", >+ status: "expired", >+ type: "alliance", > }, > { > license_id: 2, >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32474
:
144614
|
144719
|
144720
|
145143
|
145144
|
145154
|
150030
|
150031
|
150282
|
150283
|
150284
|
150287
|
150305
|
150308
|
150309
|
153110
|
153111
|
153112
|
153113
|
154094
|
156410
|
156470
|
156471
|
156472
|
156473
|
156474
|
156475
|
156476
|
156477
|
156478
|
156479
|
156481
|
156482
|
156483
|
156504
|
156505
|
159327
|
159328
|
159329
|
159330
|
159340
|
159343
|
159386
|
159389
|
159395
|
159397
|
159398
|
159399
|
159400
|
159401
|
159402
|
159403
|
159404
|
159405
|
159406
|
159407
|
161724