-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Postgres exclude failing tests #2081
Postgres exclude failing tests #2081
Conversation
More passing postgres tests Handle schema updates, and $in for non array columns remove authdata from user and implement ensureUniqueness Make some tests work, detect existing classes Throw proper error for unique index violation fix findOneAndUpdate Support more types support more type Support boolean, fix _rperm/_wperm, add TODO Support string types and also simplify tests Move operator flattening into Parse Server and out of mongo adapters Move authdata transform for create into Parse Server Move authdata transforms completely in to Parse Server Fix test setup inline addSchema Inject default schema to response from DB adapter
@drew-gross updated the pull request. |
@drew-gross updated the pull request. |
@drew-gross updated the pull request. |
1 similar comment
@drew-gross updated the pull request. |
Current coverage is 92.00%@@ master #2081 diff @@
==========================================
Files 93 93
Lines 6717 6765 +48
Methods 1191 1191
Messages 0 0
Branches 1411 1430 +19
==========================================
+ Hits 6174 6224 +50
+ Misses 543 541 -2
Partials 0 0
|
@@ -51,7 +50,7 @@ describe('parseObjectToMongoObjectForCreate', () => { | |||
|
|||
//TODO: object creation requests shouldn't be seeing __op delete, it makes no sense to | |||
//have __op delete in a new object. Figure out what this should actually be testing. | |||
notWorking('a delete op', (done) => { | |||
xit('a delete op', (done) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excluded for both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, there were a handful of tests that were marked with notWorking
from the start. xit
is just notWorking
but also adds some useful output when the tests are run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all good then :)
LGTM |
} | ||
} | ||
|
||
const transformAuthData = (className, object, schema) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...handled here, in Parse Server, not the DB adapter. The eventual plan is to somewhat duplicate the mongo format, so each type of auth data gets it's own column, like _auth_data_facebook
and so-on.
Add
it_exclude_dbs
which turns intoxit
for DBs that don't work with this interface.Inline addSchema, which was only used in one place
Do authData and update operator transformation in Parse Server, not DB adapter.
Implement more types and duplicate value detection in Postgres adapter.