()
| 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() { |
nothing calls this directly
no test coverage detected