fixed integration tests

This commit is contained in:
Vadim 2024-03-17 18:58:47 +01:00
parent 17c454e4c6
commit e3306ab3ba
2 changed files with 4 additions and 6 deletions

View file

@ -19,10 +19,8 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Connect private iap package - name: Override iap package with stub
uses: webfactory/ssh-agent@v0.8.0 run: bash ./.github/scripts/stub_iap.sh
with:
ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }}
- name: Restore secrets - name: Restore secrets
run: | run: |

View file

@ -54,10 +54,10 @@ class IAPProducts extends InheritedModel<IAPProductType> {
} }
@override @override
bool updateShouldNotify(IAPProducts oldWidget) => false; bool updateShouldNotify(IAPProducts oldWidget) => true;
@override @override
bool updateShouldNotifyDependent(IAPProducts oldWidget, Set<IAPProductType> dependencies) => false; bool updateShouldNotifyDependent(IAPProducts oldWidget, Set<IAPProductType> dependencies) => true;
IAPProduct? _findProduct(IAPProductType type) { IAPProduct? _findProduct(IAPProductType type) {
try { try {