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

[stable9] fix searchbox background #623

Merged
merged 3 commits into from
Jul 30, 2016

Conversation

jancborchardt
Copy link
Member

@MorrisJobke can you fix the unit tests? I don’t know which exact features are in there to be tested at that point, like which have been backported. Also cc @juliushaertl for info since some of the inversion stuff etc was done by you. :)

Please review @nextcloud/designers @Mar1u5 @Bugsbane @williambargent @juliushaertl @MorrisJobke

@jancborchardt jancborchardt added bug design Design, UI, UX, etc. 3. to review Waiting for reviews labels Jul 28, 2016
@jancborchardt jancborchardt added this to the Nextcloud 9.0.54 milestone Jul 28, 2016
@mention-bot
Copy link

@jancborchardt, thanks for your PR! By analyzing the annotation information on this pull request, we identified @schiessle, @MorrisJobke and @PVince81 to be potential reviewers

@LukasReschke LukasReschke added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Jul 28, 2016
@jancborchardt
Copy link
Member Author

@MorrisJobke assigned you to check for the tests. :)

@MorrisJobke
Copy link
Member

@MorrisJobke assigned you to check for the tests. :)

I'm not your minion: You could at least check the output and fix the easy stuff https://travis-ci.org/nextcloud/server/jobs/147977236#L297 first. Then if you don't know how to fix the rest I could help you.

@@ -314,6 +314,36 @@ public function testGetStylesheetWithOnlyColor() {
->expects($this->at(1))
->method('getAppValue')
->with('theming', 'color', '')
<<<<<<< HEAD
=======
Copy link
Member

Choose a reason for hiding this comment

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

looks-angry-to-Jan

Copy link
Member Author

Choose a reason for hiding this comment

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

Well so what’s the deal – are the new additions the relevant ones, or should the change just be the empty one? You’re not my minion, but I’m also not a PHP coder. ;)

Copy link
Member Author

Choose a reason for hiding this comment

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

That is, of course I looked at the conflicts and tried fixing them before opening this pull request. But I have no idea what parts of the PHP code are new and which old. Just poking in the dark by removing stuff here and other stuff there doesn’t seem like a good idea, that’s why I asked for your help.

Copy link
Member

Choose a reason for hiding this comment

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

Should work now.

@jancborchardt jancborchardt removed their assignment Jul 29, 2016
@MorrisJobke MorrisJobke force-pushed the stable9-fix-searchbox-background branch from e24c7cb to 176fbf9 Compare July 29, 2016 11:19
@MorrisJobke MorrisJobke changed the title WIP [stable9] fix searchbox background [stable9] fix searchbox background Jul 29, 2016
@MorrisJobke MorrisJobke added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 29, 2016
@$this->assertEquals($expected, $this->themingController->getStylesheet());
}

public function testGetStylesheetWithOnlyColorInvert() {
Copy link
Member

Choose a reason for hiding this comment

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

This is a duplicate unit test, as the color inverting was not backported to Nc9, but I guess this doesn't hurt.

@juliushaertl
Copy link
Member

I guess we can keep the unit tests, even if they are kind of duplicate.

👍 from my side

@MorrisJobke
Copy link
Member

Tested and works 👍

@MorrisJobke MorrisJobke merged commit 393f7f8 into stable9 Jul 30, 2016
@MorrisJobke MorrisJobke deleted the stable9-fix-searchbox-background branch July 30, 2016 08:05
@jancborchardt
Copy link
Member Author

Thanks for your help @MorrisJobke! :) Maybe a talk on getting into writing tests at the Nextcloud Conference would be cool ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug design Design, UI, UX, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants