Skip to content

Use setUp in RouterTest instead of constructor - #32158

Merged
DeepDiver1975 merged 1 commit into
masterfrom
routertest-constructor
Aug 1, 2018
Merged

DeepDiver1975 merged 1 commit into
masterfrom
routertest-constructor

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

For #31939 (comment)

@DeepDiver1975 please review as you pointed this out

I've already cherry-picked this onto the stable10 PR #31939

@phil-davis

Copy link
Copy Markdown
Contributor

@ownclouders rebase

@ownclouders

Copy link
Copy Markdown
Contributor

Hey! I'm GitMate.io! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost permanently ⚠️

@ownclouders
ownclouders force-pushed the routertest-constructor branch from 68b3fa7 to fe0e316 Compare July 26, 2018 04:57
@codecov

codecov Bot commented Jul 26, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #32158 into master will increase coverage by 18.05%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #32158       +/-   ##
=============================================
+ Coverage     45.89%   63.95%   +18.05%     
- Complexity        0    18592    +18592     
=============================================
  Files           109     1172     +1063     
  Lines         10395    69820    +59425     
  Branches       1267     1267               
=============================================
+ Hits           4771    44654    +39883     
- Misses         5255    24797    +19542     
  Partials        369      369
Flag Coverage Δ Complexity Δ
#javascript 52.81% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 65.22% <ø> (+34.69%) 18592 <ø> (+18592) ⬆️
Impacted Files Coverage Δ Complexity Δ
lib/public/Search/Result.php 0% <0%> (ø) 1% <0%> (?)
apps/dav/appinfo/v2/remote.php 0% <0%> (ø) 0% <0%> (?)
...aring/appinfo/Migrations/Version20170804201125.php 0% <0%> (ø) 2% <0%> (?)
apps/dav/lib/CalDAV/BirthdayService.php 90.32% <0%> (ø) 37% <0%> (?)
...s/dav/appinfo/Migrations/Version20170202220512.php 0% <0%> (ø) 1% <0%> (?)
lib/private/Memcache/Factory.php 70.83% <0%> (ø) 18% <0%> (?)
lib/public/AppFramework/Http/DownloadResponse.php 100% <0%> (ø) 1% <0%> (?)
core/Command/Background/WebCron.php 100% <0%> (ø) 1% <0%> (?)
lib/private/Files/Filesystem.php 70.13% <0%> (ø) 127% <0%> (?)
lib/private/Files/External/LegacyUtil.php 4.06% <0%> (ø) 38% <0%> (?)
... and 1055 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f751a30...fe0e316. Read the comment docs.

@ownclouders

Copy link
Copy Markdown
Contributor

Automated rebase with GitMate.io was successful! 🎉

@phil-davis

Copy link
Copy Markdown
Contributor

This got

In SuiteController.php line 67:
                                                                           
  `apiSharing-v1` suite is not found or has not been properly registered.  

That was renamed to just apiSharing a while ago. I am surprised that this PR branch is old. But maybe it started life from an older master

@phil-davis

phil-davis commented Jul 26, 2018 •

Copy link
Copy Markdown
Contributor

Now drone says:

fatal: unable to access 'https://github.com/owncloud/core.git/': Could not resolve host: github.com
exit status 128

I luv CI :(

@PVince81

Copy link
Copy Markdown
Contributor Author

all green. @DeepDiver1975 happy with my change from __construct to setUp ?

@DeepDiver1975
DeepDiver1975 merged commit 0fa0e24 into master Aug 1, 2018
@DeepDiver1975
DeepDiver1975 deleted the routertest-constructor branch August 1, 2018 09:25
@lock

lock Bot commented Aug 1, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants