MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / test_hover_post_blade

Function test_hover_post_blade

tests/integration/blade_debug.rs:340–351  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

338
339 #[tokio::test]
340 async fn test_hover_post_blade() {
341 let backend = create_test_backend();
342 open_scaffolding(&backend).await;
343 let uri = open_blade(&backend).await;
344 // "$post" in "<h3>{{ $post->getTitle() }}</h3>" — line 12, col 11
345 let text = hover_text(&backend, &uri, 12, 11).await;
346 assert!(
347 text.as_ref().is_some_and(|t| t.contains("BlogPost")),
348 "Blade: hover on $post should mention BlogPost, got: {:?}",
349 text
350 );
351 }
352
353 // ── GTD on ->getTitle() resolves ────────────────────────────────────
354

Callers

nothing calls this directly

Calls 4

create_test_backendFunction · 0.85
open_scaffoldingFunction · 0.85
open_bladeFunction · 0.85
hover_textFunction · 0.70

Tested by

no test coverage detected