Contribution Date
Technology
Contribution Project
Contribution Details
-
+++ b/tests/src/Kernel/DOComputedFieldsTest.php @@ -0,0 +1,67 @@ + $parent->value->willReturn($username);
Prophesize doesn't mock properties. For this to work, we should change the code to use a method and mock that method here.
-
+++ b/tests/src/Kernel/DOComputedFieldsTest.php @@ -0,0 +1,67 @@ + case 'contributions':
I think all of the cases are dropping through here. In fact, why do we need a loop and switch/case here. Why not just assert one thing after other?
Contribution Issue Link
Files count
0
Patches count
0