Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

fix: height check was missing in feature flag data trigger #302

Merged
merged 8 commits into from
Apr 22, 2021

Conversation

jawid-h
Copy link
Contributor

@jawid-h jawid-h commented Apr 22, 2021

Issue being fixed or feature implemented

To be sure feature flag is not activated "in the past", additional check has been added

What was done?

  • updated createFeatureFlagDataTrigger

How Has This Been Tested?

Unit tests

Breaking Changes

None.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@jawid-h jawid-h requested a review from shumkov April 22, 2021 11:49
shumkov
shumkov previously approved these changes Apr 22, 2021
Copy link
Member

@shumkov shumkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

expect(result).to.be.an.instanceOf(DataTriggerExecutionResult);
expect(result.isOk()).to.be.true();

// const [error] = result.getErrors();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commeted code

@jawid-h jawid-h requested a review from shumkov April 22, 2021 15:53
Copy link
Member

@shumkov shumkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jawid-h jawid-h merged commit 2c28f1b into v0.19-dev Apr 22, 2021
@jawid-h jawid-h deleted the fix/feature-flags-data-trigger branch April 22, 2021 15:58
@thephez thephez added this to the v0.19 milestone Apr 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants