From 2f2816b0f3f9a6f6777036f421544a7f060e430f Mon Sep 17 00:00:00 2001 From: Colin DeCarlo Date: Sun, 9 Feb 2020 11:09:31 -0500 Subject: [PATCH] Replace deprecated method - approveString has been deprecated in favour of verifyString --- php/tests/StatementPrinterTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/php/tests/StatementPrinterTest.php b/php/tests/StatementPrinterTest.php index 816895d..2d9c2b7 100644 --- a/php/tests/StatementPrinterTest.php +++ b/php/tests/StatementPrinterTest.php @@ -10,7 +10,7 @@ use Theatrical\Invoice; final class StatementPrinterTest extends TestCase { - public function testCanPrintInvoice() : void + public function testCanPrintInvoice() : void { $plays = [ "hamlet" => new Play("Hamlet", "tragedy"), @@ -27,10 +27,10 @@ final class StatementPrinterTest extends TestCase $statementPrinter = new StatementPrinter(); $result = $statementPrinter->print($invoice, $plays); - Approvals::approveString($result); + Approvals::verifyString($result); } - public function testNewPlayTypes() : void + public function testNewPlayTypes() : void { $plays = [ "henry-v" => new Play("Henry V", "history"),