Skip to content

Commit b777c2f

Browse files
authored
Replace deprecated tweakApplication() and use beforeServingApplication() instead (#9234)
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent cc00b55 commit b777c2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Features/SupportLazyLoading/BrowserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function render() { return <<<HTML
130130

131131
public function test_can_lazy_load_component_using_route()
132132
{
133-
$this->tweakApplication(function() {
133+
$this->beforeServingApplication(function() {
134134
Livewire::component('page', Page::class);
135135
Route::get('/', Page::class)->lazy()->middleware('web');
136136
});

src/Features/SupportQueryString/BrowserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ public function render()
912912

913913
public function test_cannot_inject_js_through_query_string()
914914
{
915-
$this->tweakApplication(function() {
915+
$this->beforeServingApplication(function() {
916916
app('livewire')->component('foo', new class extends Component {
917917
#[Url]
918918
public $foo = 'bar';

0 commit comments

Comments
 (0)