mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
fixed integration tests
This commit is contained in:
parent
17c454e4c6
commit
e3306ab3ba
2 changed files with 4 additions and 6 deletions
6
.github/workflows/run_integration_tests.yml
vendored
6
.github/workflows/run_integration_tests.yml
vendored
|
@ -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: |
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue