Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Storage Emulator resource evaluation integration test #4230

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

tohhsinpei
Copy link
Member

@tohhsinpei tohhsinpei commented Feb 28, 2022

Description

Issue

Follow up to #4214. We added an integration test to check that the resource object is evaluated correctly in the security rules for the Storage Emulator. This test is currently failing on master.

Cause

updateMetadata is not being awaited, so the file metadata is not set. Thus the security rule condition allows the delete.

Scenarios Tested

Ran Storage Emulator integration tests and verified that test now passes with fix.

@yuchenshi yuchenshi merged commit 9233e80 into master Feb 28, 2022
@yuchenshi yuchenshi deleted the hsinpei/storage-write-rules-2 branch February 28, 2022 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants