-
Notifications
You must be signed in to change notification settings - Fork 14
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
allow restrictions to be retrieved only by item / location #1179
base: master
Are you sure you want to change the base?
Conversation
Ich verstehe nicht wieso du die Tests in einem separaten Branch eincheckst. Ausgeführt werden sie hier in diesem Branch doch auch. Welchen Grund hat das? |
Das stimmt, der Fehler ist aufgeflogen als ich neue Unit Tests auf dem anderen Branch gebastelt habe. Aber habe sie auch mal hier eingefügt. |
# Conflicts: # tests/Model/ItemTest.php # tests/Model/LocationTest.php
Das ist potentiell ein heikler Change, weil die filterPosts sehr oft von vielen Methoden verwendet wird. |
@hansmorb Stimmt, grundsätzlich würde ich sagen sollten wir einfach versuchen via Unit-Tests für Repository/Restriction alles abzufrühstücken.
Zusätzlich habe ich mal eine Liste aller Aufrufer gemacht. Ggf. können wir die Testfälle für diese Methoden auf Vollständigkeit überprüfen. Oder um uns noch sicherer zu fühlen schreiben wir ein paar E2E Tests. Liste der Callee's (via PHPStorm)
|
# Conflicts: # tests/Model/LocationTest.php
Codecov Report
@@ Coverage Diff @@
## master #1179 +/- ##
============================================
+ Coverage 35.85% 36.06% +0.20%
- Complexity 2115 2117 +2
============================================
Files 83 83
Lines 8596 8602 +6
============================================
+ Hits 3082 3102 +20
+ Misses 5514 5500 -14
|
closes #1178
UnitTests schon vorgebaut in experiment/unittestsUnitTests sind mit dabei