write in pre-requrest/prepare
pm.request.addHeader('Accept: application/json')
<?php | |
it('extracts video ID from YouTube URLs', function ($url, $expectedId) { | |
expect(get_youtube_video_id($url))->toBe($expectedId); | |
})->with([ | |
['https://youtu.be/dQw4w9WgXcQ', 'dQw4w9WgXcQ'], | |
['https://www.youtube.com/watch?v=dQw4w9WgXcQ', 'dQw4w9WgXcQ'], | |
['http://youtube.com/v/dQw4w9WgXcQ', 'dQw4w9WgXcQ'], | |
['https://www.youtube.com/embed/dQw4w9WgXcQ', 'dQw4w9WgXcQ'], | |
['https://www.youtube.com/shorts/dQw4w9WgXcQ', 'dQw4w9WgXcQ'], |
PhpStorm, Laravel IDEA plugin, ide.json
(v1) configuration file for package jeroennoten/laravel-adminlte
. Place in the root of your project. Hints for components and types from a package.
ide.json
{
"$schema": "http://laravel-ide.com/schema/laravel-ide-v1.json",
"completion": {
},
"view": {