Skip to content

Fix usage view tests - #16198

Merged
MorrisJobke merged 1 commit into
masterfrom
fix/tests/usage
Jul 2, 2019
Merged

Fix usage view tests#16198
MorrisJobke merged 1 commit into
masterfrom
fix/tests/usage

Conversation

@rullzer

Copy link
Copy Markdown
Member

Follow up to #16049
Should fix CI

Follow up to #16049
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>

@skjnldsvskjnldsv 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.

Sorry, I missed it

@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 2, 2019
@kesselb

Copy link
Copy Markdown
Contributor

Thanks 👍

I was asked to display 158,8mb as 159mb but humanFileSize always returns 158,8mb. I think we should revert the line below because 123 b is not 100 kb and fix it properly later.

$nav->assign('usage', \OC_Helper::humanFileSize(ceil($storageInfo['used'] / 102400) * 102400));

@MorrisJobke
MorrisJobke merged commit 63c64bf into masterJul 2, 2019
@MorrisJobke
MorrisJobke deleted the fix/tests/usage branch July 2, 2019 17:22
@rullzer

Copy link
Copy Markdown
MemberAuthor

@kesselb makes sense. feel free to do that :)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@rullzer@kesselb@MorrisJobke@ChristophWurst@skjnldsv