@@ -184,7 +184,7 @@ public function testAverageRating3()
184184 public function testAverageRating4 ()
185185 {
186186 $ this ->user ->rate ($ this ->page , 1.00 );
187- $ this ->user2 ->rate ($ this ->page , 2.00 );;
187+ $ this ->user2 ->rate ($ this ->page , 2.00 );
188188
189189 $ this ->assertEquals ($ this ->page ->averageRating (), 0.00 );
190190 $ this ->assertEquals ($ this ->page ->averageRating (User::class), 1.50 );
@@ -197,7 +197,7 @@ public function testAverageRating5()
197197 $ this ->user3 ->rate ($ this ->page , 10.00 );
198198
199199 $ this ->assertEquals ($ this ->page ->averageRating (), 0.00 );
200- $ this ->assertEquals ($ this ->page ->averageRating (User::class), (12.00 / 3 ));
200+ $ this ->assertEquals ($ this ->page ->averageRating (User::class), (12.00 / 3 ));
201201 }
202202
203203 public function testAverageRating6 ()
@@ -207,6 +207,6 @@ public function testAverageRating6()
207207 $ this ->user3 ->rate ($ this ->page , 5.77 );
208208
209209 $ this ->assertEquals ($ this ->page ->averageRating (), 0.00 );
210- $ this ->assertEquals ($ this ->page ->averageRating (User::class), ((7.43 + 3.15 + 5.77 )/ 3 ));
210+ $ this ->assertEquals ($ this ->page ->averageRating (User::class), ((7.43 + 3.15 + 5.77 ) / 3 ));
211211 }
212212}
0 commit comments