Header [Content-type] was found, but value [text/html; charset=UTF-8] does not match [application/json; charset=utf-8].
Failed asserting that two strings are equal.
Expected :'application/json; charset=utf-8'
Actual :'text/html; charset=UTF-8'
->assertHeader('Content-type', 'application/json; charset=utf-8')
import VuetablePagination from 'vuetable-2/src/components/VuetablePagination';
$validatedData = $request->validate([
'title' => 'required|unique:posts|max:255',
'body' => 'required',
])->errors();
код ужасен чуть более, чем полностью., на что примерно ссылаешься и как бы ты сделал.