Skip to content

Conversation

@tomneedham
Copy link
Contributor

@tomneedham tomneedham added this to the development milestone Feb 5, 2018
@tomneedham tomneedham self-assigned this Feb 5, 2018
@tomneedham tomneedham requested a review from butonic February 5, 2018 12:38
$this->mapper->update($a);
} catch(DoesNotExistException $ex) {
$this->createNewAccount($backendClass, $uid);
$a = $this->createNewAccount($backendClass, $uid);
Copy link
Member

Choose a reason for hiding this comment

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

since this was not detected by the regular CI process - I assume this is missing unit tests

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep - looking at tests for this

@codecov
Copy link

codecov bot commented Feb 5, 2018

Codecov Report

Merging #30367 into master will decrease coverage by 0.16%.
The diff coverage is 50%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #30367      +/-   ##
============================================
- Coverage     60.84%   60.67%   -0.17%     
  Complexity    18549    18549              
============================================
  Files          1092     1092              
  Lines         61280    61280              
============================================
- Hits          37286    37182     -104     
- Misses        23994    24098     +104
Impacted Files Coverage Δ Complexity Δ
lib/private/User/SyncService.php 70.8% <50%> (+12.94%) 55 <0> (ø) ⬇️
lib/private/Repair/Collation.php 0% <0%> (-82.5%) 12% <0%> (ø)
lib/private/Repair/InnoDB.php 0% <0%> (-78.95%) 6% <0%> (ø)
...ilder/ExpressionBuilder/MySqlExpressionBuilder.php 0% <0%> (-62.5%) 3% <0%> (ø)
lib/private/DB/MySQLMigrator.php 0% <0%> (-57.7%) 7% <0%> (ø)
lib/private/DB/AdapterMySQL.php 0% <0%> (-50%) 4% <0%> (ø)
lib/private/DB/Adapter.php 61.72% <0%> (-20.99%) 25% <0%> (ø)
lib/private/DB/ConnectionFactory.php 60.52% <0%> (-14.48%) 21% <0%> (ø)
lib/private/DB/MDB2SchemaWriter.php 86.45% <0%> (-6.25%) 34% <0%> (ø)
...private/DB/MySqlSchemaColumnDefinitionListener.php 0% <0%> (-5.41%) 46% <0%> (ø)
... and 8 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 2f1a4e1...41e72e0. Read the comment docs.

@tomneedham
Copy link
Contributor Author

Added a test to run through the sync service at least once.

@individual-it
Copy link
Member

restarted drone, now passed

@lock
Copy link

lock bot commented Aug 1, 2019

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.

5 participants