33namespace Zpl \Tests ;
44
55use PHPUnit \Framework \Attributes \Test ;
6+ use Zpl \Enums \Align ;
67use Zpl \Enums \Barcode ;
78use Zpl \Enums \Orientation ;
89
@@ -104,15 +105,15 @@ public function drawCircle(): void
104105 #[Test]
105106 public function drawCell (): void
106107 {
107- $ this ->driver ->drawCell (100 , 10 , 'Hello World ' , true , true , ' C ' );
108+ $ this ->driver ->drawCell (100 , 10 , 'Hello World ' , true , true , Align:: CENTER );
108109
109110 $ this ->assertEquals ("^XA \n^FO0,0^GB100,10,3,B,0^FS \n^FO10,2.5 \n^FB90,7.5,0,C \n^FH^FDHello World^FS \n^XZ \n" , $ this ->getZpl ());
110111 }
111112
112113 #[Test]
113- public function drawCellWithEspecialCharaters (): void
114+ public function drawCellWithEspecialCharacters (): void
114115 {
115- $ this ->driver ->drawCell (100 , 10 , 'E ^~_ C ' , true , true , ' C ' );
116+ $ this ->driver ->drawCell (100 , 10 , 'E ^~_ C ' , true , true , Align:: CENTER );
116117
117118 $ this ->assertEquals ("^XA \n^FO0,0^GB100,10,3,B,0^FS \n^FO10,2.5 \n^FB90,7.5,0,C \n^FH^FDE _5E_7E_5F C^FS \n^XZ \n" , $ this ->getZpl ());
118119 }
@@ -126,7 +127,7 @@ public function drawText(): void
126127 }
127128
128129 #[Test]
129- public function drawTextWithEspecialCharaters (): void
130+ public function drawTextWithEspecialCharacters (): void
130131 {
131132 $ this ->driver ->drawText (5 , 40 , 'E ^~_ C ' );
132133
0 commit comments