-
Notifications
You must be signed in to change notification settings - Fork 2.3k
test(firestore): simplify firestore tests #4133
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
05d9394
test(firestore): clean up rules
russellwheatley 92d2fab
docs(firestore): update e2e contributing docs
russellwheatley a8ff5a1
Merge branch 'master' into @russell/follow-up-emulator
russellwheatley 99d7930
format: prettier e2e files
russellwheatley 3236842
Merge branch 'master' into @russell/follow-up-emulator
russellwheatley b90f4d7
Merge branch 'master' into @russell/follow-up-emulator
Salakar 5c39518
Merge branch 'master' into @russell/follow-up-emulator
russellwheatley a4d806d
test: ios updates
russellwheatley a646bd3
testing ci ios tests
russellwheatley 16c484e
ci ios test
russellwheatley 2deeb58
ci ios testing
russellwheatley 0b379c8
revert project.pbxproj
russellwheatley 57fdb19
Merge branch 'master' into @russell/follow-up-emulator
russellwheatley 2549489
test(firestore): fix broken tests
russellwheatley 94d978e
test(firestore): rm todo
russellwheatley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ | |
| }, | ||
| "ui": { | ||
| "enabled": true, | ||
| "port": "4000" | ||
| "port": 4000 | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,156 +1,14 @@ | ||
| rules_version = '2'; | ||
| service cloud.firestore { | ||
| match /databases/{database}/documents { | ||
| function isUpdateToLikeCount(attr) { | ||
| return request.resource.data.diff(resource.data).affectedKeys().hasOnly(['likes']); | ||
| } | ||
|
|
||
| allow update: if isUpdateToLikeCount(request.resource.data); | ||
|
|
||
| match /firebasePerfTest/{document=**} { | ||
| allow read: if true; | ||
| } | ||
|
|
||
| match /firestore-example-app/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
|
|
||
| match /{document=**} { | ||
| match /{document=**} { | ||
| allow read, write: if false; | ||
| } | ||
| match /v6/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
|
|
||
| match /flutter-tests/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
|
|
||
| match /playground/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
|
|
||
| match /{path=**}/playground/{doc} { | ||
| allow read, write: if true; | ||
| } | ||
|
|
||
| match /{path=**}/collectionGroup/{documentId} { | ||
| allow read, write: if true; | ||
| } | ||
| match /issue2854/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
|
|
||
| match /random/{document=**} { | ||
| allow read; | ||
| } | ||
| match /collection-tests/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /document-tests/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests1/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests2/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests3/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests4/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests5/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests6/{document=**} { | ||
| match /firestore/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests7/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests8/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests9/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests10/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests11/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests12/{document=**} { | ||
| } | ||
| match /{path=**}/collectionGroup/{documentId} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests13/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests14/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests15/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests16/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests17/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests18/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests19/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests20/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests21/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests22/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests23/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests24/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests25/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests26/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests27/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests28/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests29/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests30/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /tests31/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /flutter-tests/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| match /blob-tests/{document=**} { | ||
| allow read, write: if true; | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.