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

Function test_hover_author_blade

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

Source from the content-addressed store, hash-verified

232
233 #[tokio::test]
234 async fn test_hover_author_blade() {
235 let backend = create_test_backend();
236 open_scaffolding(&backend).await;
237 let uri = open_blade(&backend).await;
238 // "$author" in "<p>{{ $author->name }}</p>" — line 11, col 10
239 let text = hover_text(&backend, &uri, 11, 10).await;
240 assert!(
241 text.as_ref().is_some_and(|t| t.contains("BlogAuthor")),
242 "Blade: hover on $author should mention BlogAuthor, got: {:?}",
243 text
244 );
245 }
246
247 // ── Completion $author-> offers 'name' ──────────────────────────────
248

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