From eec47011053e0bc7fa4ea8eb63de5f943607fff1 Mon Sep 17 00:00:00 2001 From: Edwin Heij Date: Tue, 10 Sep 2024 20:39:40 +0200 Subject: [PATCH] Update pest3-now-available.md Source diving told me that ```printer``` method doesn't exist (anymore). ```theme``` is used instead. Am I right? --- pest3-now-available.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pest3-now-available.md b/pest3-now-available.md index 3fa0ed7..f1f2270 100644 --- a/pest3-now-available.md +++ b/pest3-now-available.md @@ -252,7 +252,7 @@ In Pest 3, we've introduced a new configuration API that is more intuitive and e +pest()->extends(TestCase::class)->use(RefreshDatabase::class)->in('Features'); -uses()->compact(); -+pest()->printer()->compact(); ++pest()->theme()->compact(); ``` And of course, any method that was available on the `uses()` API, like `->beforeEach()` or `->group()` is still available on the new `pest()` configuration API; we've just made it more intuitive and easier to use.