Patrick
2022-01-18 00:07:39 +01:00
committed by GitHub
parent 0acb540e95
commit f6dcf2b9c6

View File

@@ -241,19 +241,6 @@ class CartTest extends TestCase
$cart->add(null, 'Some title', 1, 10.00);
}
/**
* @test
*/
public function it_will_validate_the_name()
{
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('Please supply a valid name.');
$cart = $this->getCart();
$cart->add(1, null, 1, 10.00);
}
/**
* @test
*/