Skip to content

Commit

Permalink
fixed integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vodemn committed Mar 17, 2024
1 parent 17c454e commit e3306ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/run_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ jobs:
with:
submodules: recursive

- name: Connect private iap package
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }}
- name: Override iap package with stub
run: bash ./.github/scripts/stub_iap.sh

- name: Restore secrets
run: |
Expand Down
4 changes: 2 additions & 2 deletions iap/lib/src/providers/iap_products_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ class IAPProducts extends InheritedModel<IAPProductType> {
}

@override
bool updateShouldNotify(IAPProducts oldWidget) => false;
bool updateShouldNotify(IAPProducts oldWidget) => true;

@override
bool updateShouldNotifyDependent(IAPProducts oldWidget, Set<IAPProductType> dependencies) => false;
bool updateShouldNotifyDependent(IAPProducts oldWidget, Set<IAPProductType> dependencies) => true;

IAPProduct? _findProduct(IAPProductType type) {
try {
Expand Down

0 comments on commit e3306ab

Please sign in to comment.