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

Acceptance tests for apps management and minor fixes #9810

Merged
merged 5 commits into from
Jun 11, 2018

Conversation

juliusknorr
Copy link
Member

This PR adds some basic acceptance tests for the new apps management (#9769) and fixes some minor bugs from (#9767)

@juliusknorr juliusknorr added this to the Nextcloud 14 milestone Jun 9, 2018
@juliusknorr juliusknorr requested review from skjnldsv and danxuliu June 9, 2018 10:09
@juliusknorr juliusknorr mentioned this pull request Jun 9, 2018
7 tasks
@codecov
Copy link

codecov bot commented Jun 9, 2018

Codecov Report

Merging #9810 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #9810      +/-   ##
============================================
+ Coverage     51.92%   51.92%   +<.01%     
  Complexity    25768    25768              
============================================
  Files          1635     1635              
  Lines         95426    95427       +1     
  Branches       1308     1308              
============================================
+ Hits          49548    49553       +5     
+ Misses        45878    45874       -4
Impacted Files Coverage Δ Complexity Δ
settings/Controller/AppSettingsController.php 19.54% <0%> (-0.08%) 79 <0> (ø)
core/js/js.js 65.45% <0%> (+0.55%) 0% <0%> (ø) ⬇️

# being present in the app store with support for the current server version
# Ideally we would have either a dummy app store endpoint with some test apps
# or even an app store instance running somewhere to properly test this.
# This is also a requirement to properly test updates of apps
Copy link
Member

Choose a reason for hiding this comment

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

I would vote to write a simple endpoint (just static data that is returned). In the end we test here the apps part of the server. No need to test the appstore at this point.

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

All green so good to go from my POV!

@skjnldsv skjnldsv merged commit 142505e into master Jun 11, 2018
@skjnldsv skjnldsv deleted the tests/9769/apps-management-acceptance branch June 11, 2018 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants