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

Function test_hover_author_php

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

Source from the content-addressed store, hash-verified

218
219 #[tokio::test]
220 async fn test_hover_author_php() {
221 let backend = create_test_backend();
222 open_scaffolding(&backend).await;
223 let uri = open_php_equivalent(&backend).await;
224 // "$author" in "echo e( $author->name );" — line 6, col 8
225 let text = hover_text(&backend, &uri, 6, 8).await;
226 assert!(
227 text.as_ref().is_some_and(|t| t.contains("BlogAuthor")),
228 "PHP: hover on $author should mention BlogAuthor, got: {:?}",
229 text
230 );
231 }
232
233 #[tokio::test]
234 async fn test_hover_author_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