File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -74,17 +74,17 @@ public function setName($value)
74
74
/**
75
75
* {@inheritDoc}
76
76
*/
77
- public function getSku ()
77
+ public function getDescription ()
78
78
{
79
- return $ this ->getParameter ('sku ' );
79
+ return $ this ->getParameter ('description ' );
80
80
}
81
81
82
82
/**
83
- * Set the item SKU
83
+ * Set the item description
84
84
*/
85
- public function setSku ($ value )
85
+ public function setDescription ($ value )
86
86
{
87
- return $ this ->setParameter ('sku ' , $ value );
87
+ return $ this ->setParameter ('description ' , $ value );
88
88
}
89
89
90
90
/**
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ interface ItemInterface
13
13
public function getName ();
14
14
15
15
/**
16
- * SKU of the item
16
+ * Description of the item
17
17
*/
18
- public function getSku ();
18
+ public function getDescription ();
19
19
20
20
/**
21
21
* Quantity of the item
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ public function testName()
35
35
$ this ->assertSame ('CD-ROM ' , $ this ->item ->getName ());
36
36
}
37
37
38
- public function testSku ()
38
+ public function testDescription ()
39
39
{
40
- $ this ->item ->setSku ('CD ' );
41
- $ this ->assertSame ('CD ' , $ this ->item ->getSku ());
40
+ $ this ->item ->setDescription ('CD ' );
41
+ $ this ->assertSame ('CD ' , $ this ->item ->getDescription ());
42
42
}
43
43
44
44
public function testQuantity ()
You can’t perform that action at this time.
0 commit comments