-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Use insertIfNotExist of the new interface #8786
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
Conversation
| $this->assertGreaterThan($id1, $id2); | ||
| } | ||
|
|
||
| public function testinsertIfNotExist() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are there tests for the connection version of it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wondered if IDBConnection::insertIfNotExist() has tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find one ... let me then migrate those tests over to the IDBConnection.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Migrated them to the new class.
|
Conflicting files |
aa8cc6f to
2b849eb
Compare
Codecov Report
@@ Coverage Diff @@
## master #8786 +/- ##
============================================
- Coverage 51.87% 31.4% -20.48%
+ Complexity 25358 25357 -1
============================================
Files 1607 1607
Lines 95101 95100 -1
Branches 1377 1377
============================================
- Hits 49336 29863 -19473
- Misses 45765 65237 +19472
|
Already fixed :P |
e7de9c0 to
a49d8a7
Compare
a49d8a7 to
8d3104a
Compare
ChristophWurst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8d3104a to
2b335fd
Compare
Ref #8375