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

Fix testing #278

Merged
merged 3 commits into from
Apr 9, 2018
Merged

Fix testing #278

merged 3 commits into from
Apr 9, 2018

Conversation

glasserc
Copy link
Contributor

@glasserc glasserc commented Apr 3, 2018

Combines with Kinto/kinto#1576 to fix the current test failures in Travis.

Also, while we're here, fix the test warnings from the sinon version.

glasserc added 2 commits April 3, 2018 15:31
This seems to be the first of many consequences from
sinonjs/sinon#1586 and
sinonjs/sinon#1700. I'm not sure what the
final result of all of this will be -- we might not even need this
sandbox any more, because a default one is created for us -- but at
some point in the future, we'll probably have to rewrite everything
that uses a stub(), and I prefer to wait until then to make any
drastic changes. This just silences the warnings until then.
@glasserc
Copy link
Contributor Author

glasserc commented Apr 5, 2018

@leplatrem Because we now expose bucket:create in master, but not in 6.0.1, the same set of tests cannot pass in both configurations. What do you think we should do? Strip out that one and use the old assertions? Enforce that it's there but only on master?

@leplatrem
Copy link
Contributor

The only thing that comes into my mind (it's late here) is to have a condition on the server version in the tests.
if serverInfo.version < 8.3 then skip bucket:create

@glasserc
Copy link
Contributor Author

glasserc commented Apr 6, 2018

OK, ready for a final review on this. @leplatrem ?

@glasserc glasserc merged commit d3da392 into Kinto:master Apr 9, 2018
@glasserc glasserc deleted the fix-testing branch April 9, 2018 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants