Skip to content

Instantly share code, notes, and snippets.

View TomasVotruba's full-sized avatar
🎯
Deprecating Legacy

Tomas Votruba TomasVotruba

🎯
Deprecating Legacy
View GitHub Profile
-$this->assertEquals(1500, $product->getPrice());
+$this->assertSame(1500, $product->getPrice());
// Failed asserting that '1500.0' is identical to 1500