Skip to content

Return proper boolean user enabled state api - #9168

Merged
MorrisJobke merged 1 commit into
masterfrom
enabled-state-proper-return-and-tests-fixes
Apr 16, 2018
Merged

Return proper boolean user enabled state api#9168
MorrisJobke merged 1 commit into
masterfrom
enabled-state-proper-return-and-tests-fixes

Conversation

@skjnldsv

@skjnldsvskjnldsv commented Apr 12, 2018

Copy link
Copy Markdown
Member

After #9111 and #9136
Signed-off-by: John Molakvoæ (skjnldsv) skjnldsv@protonmail.com

@skjnldsv
skjnldsvforce-pushed the enabled-state-proper-return-and-tests-fixes branch from 1c6b197 to 9d8c045CompareApril 12, 2018 17:39
@codecov

codecovBot commented Apr 12, 2018

Copy link
Copy Markdown

Codecov Report

Merging #9168 into master will not change coverage.
The diff coverage is 100%.

@@ Coverage Diff @@## master #9168 +/- ##
========================================
Coverage 51.9% 51.9% Complexity 25354 25354 ========================================
Files 1606 1606 Lines 95301 95301 Branches 1394 1394 ========================================
Hits 49465 49465 Misses 45836 45836
Impacted FilesCoverage ΔComplexity Δ
apps/provisioning_api/lib/Controller/AUserData.php61.84% <100%> (ø)14 <0> (ø)⬇️
apps/files_trashbin/lib/Expiration.php90.32% <0%> (-1.62%)29% <0%> (ø)
apps/files_trashbin/lib/Trashbin.php72.7% <0%> (+0.24%)136% <0%> (ø)⬇️

@skjnldsv
skjnldsvforce-pushed the enabled-state-proper-return-and-tests-fixes branch 5 times, most recently from 11be2c2 to 0822e8fCompareApril 12, 2018 22:08
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

Intégration provisioning v1 now passes! :)

@skjnldsvskjnldsv self-assigned this Apr 12, 2018
@skjnldsvskjnldsv added the 3. to review Waiting for reviews label Apr 12, 2018
@skjnldsvskjnldsv added this to the Nextcloud 14 milestone Apr 12, 2018
@skjnldsv
skjnldsv requested a review from schiessleApril 12, 2018 23:00
@skjnldsv
skjnldsvforce-pushed the enabled-state-proper-return-and-tests-fixes branch from 0822e8f to 8f6e446CompareApril 16, 2018 09:51
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv
skjnldsvforce-pushed the enabled-state-proper-return-and-tests-fixes branch from 8f6e446 to 3e5ea9bCompareApril 16, 2018 13:17

$this->response = $client->get($fullUrl, $options);
PHPUnit_Framework_Assert::assertEquals("true", simplexml_load_string($this->response->getBody())->data[0]->enabled);
// boolean to string is integer

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🤔

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

@MorrisJobke in xml output 😆

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🐘

@MorrisJobke
MorrisJobke merged commit d939484 into masterApr 16, 2018
@MorrisJobke
MorrisJobke deleted the enabled-state-proper-return-and-tests-fixes branch April 16, 2018 16:09
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@skjnldsv@nickvergessen@MorrisJobke