Completed
Push — master ( 888950...2eb122 )
by Andrii
05:25
created
tests/unit/charge/modifiers/FixedDiscountTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
         $this->assertAbsolute($this->value, $abs);
40 40
     }
41 41
 
42
+    /**
43
+     * @param FixedDiscount $abs
44
+     */
42 45
     public function assertAbsolute($value, $abs)
43 46
     {
44 47
         $this->assertEquals($value, $abs->getValue());
@@ -54,6 +57,9 @@  discard block
 block discarded – undo
54 57
         $this->assertRelative($this->rate, $rel);
55 58
     }
56 59
 
60
+    /**
61
+     * @param FixedDiscount $rel
62
+     */
57 63
     protected function assertRelative($rate, $rel)
58 64
     {
59 65
         $this->assertSame($rate, $rel->getValue());
@@ -73,6 +79,9 @@  discard block
 block discarded – undo
73 79
         $this->assertFixedDiscountCharges($rel, $this->value);
74 80
     }
75 81
 
82
+    /**
83
+     * @param FixedDiscount $fd
84
+     */
76 85
     public function assertFixedDiscountCharges($fd, $sum)
77 86
     {
78 87
         $action = $this->createAction($this->prepaid->multiply(2));
Please login to merge, or discard this patch.