@@ -584,21 +584,21 @@ public async Task HealthEndpoint_ExcludesStoredProcedures()
584584 Relationships : null ,
585585 Mappings : null ) ;
586586
587- // Create a stored procedure entity
587+ // Create a stored procedure entity - using an actual stored procedure from test schema
588588 Entity storedProcEntity = new (
589589 Health : new ( enabled : true ) ,
590- Source : new ( "GetData " , EntitySourceType . StoredProcedure , null , null ) ,
590+ Source : new ( "get_books " , EntitySourceType . StoredProcedure , null , null ) ,
591591 Fields : null ,
592592 Rest : new ( Enabled : true ) ,
593- GraphQL : new ( "getData " , "getDataList " , true ) ,
593+ GraphQL : new ( "executeGetBooks " , "executeGetBooksList " , true ) ,
594594 Permissions : new [ ] { ConfigurationTests . GetMinimalPermissionConfig ( AuthorizationResolver . ROLE_ANONYMOUS ) } ,
595595 Relationships : null ,
596596 Mappings : null ) ;
597597
598598 Dictionary < string , Entity > entityMap = new ( )
599599 {
600600 { "Book" , tableEntity } ,
601- { "GetData " , storedProcEntity }
601+ { "GetBooks " , storedProcEntity }
602602 } ;
603603
604604 RuntimeConfig runtimeConfig = CreateRuntimeConfig (
@@ -646,9 +646,9 @@ public async Task HealthEndpoint_ExcludesStoredProcedures()
646646 Assert . IsTrue ( entityNamesInHealthCheck . Contains ( "Book" ) ,
647647 "Table entity 'Book' should be included in health check results" ) ;
648648
649- // Verify that the stored procedure entity (GetData ) does NOT appear in health checks
650- Assert . IsFalse ( entityNamesInHealthCheck . Contains ( "GetData " ) ,
651- "Stored procedure entity 'GetData ' should be excluded from health check results" ) ;
649+ // Verify that the stored procedure entity (GetBooks ) does NOT appear in health checks
650+ Assert . IsFalse ( entityNamesInHealthCheck . Contains ( "GetBooks " ) ,
651+ "Stored procedure entity 'GetBooks ' should be excluded from health check results" ) ;
652652 }
653653 }
654654
0 commit comments