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

Function test_hover_post_php

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

Source from the content-addressed store, hash-verified

324
325 #[tokio::test]
326 async fn test_hover_post_php() {
327 let backend = create_test_backend();
328 open_scaffolding(&backend).await;
329 let uri = open_php_equivalent(&backend).await;
330 // "$post" in "echo e( $post->getTitle() );" — line 7, col 8
331 let text = hover_text(&backend, &uri, 7, 8).await;
332 assert!(
333 text.as_ref().is_some_and(|t| t.contains("BlogPost")),
334 "PHP: hover on $post should mention BlogPost, got: {:?}",
335 text
336 );
337 }
338
339 #[tokio::test]
340 async fn test_hover_post_blade() {

Callers

nothing calls this directly

Calls 4

create_test_backendFunction · 0.85
open_scaffoldingFunction · 0.85
open_php_equivalentFunction · 0.85
hover_textFunction · 0.70

Tested by

no test coverage detected