stock-products

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
OLMIS-7397: Revert changes made in tests
OLMIS-7397: Revert changes made in tests
OLMIS-7397: Revert changes made in tests

This reverts commit cb5aef05f80737da454315a7a5ecde342e0ef1a9.

    • -9
    • +9
    ./full-stock-card-summary-cache.run.spec.js
    • -11
    • +11
    ./full-stock-card-summary-repository-impl.spec.js
  1. … 40 more files in changeset.
OLMIS-7314: Fix tests after karma upgrade
OLMIS-7314: Fix tests after karma upgrade
OLMIS-7314: Fix tests after karma upgrade

    • -9
    • +9
    ./full-stock-card-summary-cache.run.spec.js
    • -11
    • +11
    ./full-stock-card-summary-repository-impl.spec.js
  1. … 39 more files in changeset.
OLMIS-7181: Made Stock Card Summaries cache user-specific
OLMIS-7181: Made Stock Card Summaries cache user-specific
OLMIS-7181: Made Stock Card Summaries cache user-specific

    • -2
    • +1
    ./full-stock-card-summary-cache.run.js
    • -7
    • +0
    ./full-stock-card-summary-cache.run.spec.js
    • -6
    • +11
    ./full-stock-card-summary-repository-impl.js
    • -1
    • +12
    ./full-stock-card-summary-repository-impl.spec.js
  1. … 3 more files in changeset.
OLMIS-7165: Fixed issue with login when user has no home facility
OLMIS-7165: Fixed issue with login when user has no home facility
OLMIS-7165: Fixed issue with login when user has no home facility

    • -2
    • +5
    ./full-stock-card-summary-cache.run.js
    • -0
    • +9
    ./full-stock-card-summary-cache.run.spec.js
  1. … 6 more files in changeset.
OLMIS-7165: Added check if user has permission to get stock cards
OLMIS-7165: Added check if user has permission to get stock cards
OLMIS-7165: Added tests for checking user permission when getting stock cards on login

    • -0
    • +34
    ./full-stock-card-summary-cache.run.spec.js
OLMIS-7165: Added check if user has permission to get stock cards

    • -10
    • +19
    ./full-stock-card-summary-cache.run.js
OLMIS-7165: Remove Stock Card Summary records from local database on login

    • -0
    • +1
    ./full-stock-card-summary-cache.run.js
    • -0
    • +8
    ./full-stock-card-summary-cache.run.spec.js
    • -6
    • +5
    ./full-stock-card-summary-repository-impl.js
  1. … 1 more file in changeset.
Actually we shouldn't, because the query method in this repository has only one parameter (params).

Actually we shouldn't, because the query method in this repository has only one parameter (params).

We probably should also add the docId parameter

We probably should also add the docId parameter

I think you can add here similar code as you added in stock-card-summary-repository-impl.js to be sure the parameters programId and facilityId are given in the correct order to the docId

I think you can add here similar code as you added in stock-card-summary-repository-impl.js to be sure the parameters programId and facilityId are given in the correct order to the docId

Can't we use ReasonDataBuilder here?

Can't we use ReasonDataBuilder here?

OLMIS-7165: Added test for saving data to local database with docId param
OLMIS-7165: Added test for saving data to local database with docId param
OLMIS-7165: Added tests for getting stock card summaries on login

    • -7
    • +5
    ./full-stock-card-summary-cache.run.js
    • -0
    • +104
    ./full-stock-card-summary-cache.run.spec.js
  1. … 6 more files in changeset.