@@ -121,20 +121,7 @@ impl TestCase {
121121 test_case
122122 }
123123
124- fn new_with_source_subgraph < T > (
125- name : & str ,
126- test : fn ( TestContext ) -> T ,
127- source_subgraph : & str ,
128- ) -> Self
129- where
130- T : Future < Output = Result < ( ) , anyhow:: Error > > + Send + ' static ,
131- {
132- let mut test_case = Self :: new ( name, test) ;
133- test_case. source_subgraph = Some ( vec ! [ source_subgraph. to_string( ) ] ) ;
134- test_case
135- }
136-
137- fn new_with_multiple_source_subgraphs < T > (
124+ pub fn new_with_source_subgraphs < T > (
138125 name : & str ,
139126 test : fn ( TestContext ) -> T ,
140127 source_subgraphs : Vec < & str > ,
@@ -1046,12 +1033,12 @@ async fn integration_tests() -> anyhow::Result<()> {
10461033 TestCase :: new( "ethereum-api-tests" , test_eth_api) ,
10471034 TestCase :: new( "topic-filter" , test_topic_filters) ,
10481035 TestCase :: new_with_grafting( "grafted" , test_subgraph_grafting, "base" ) ,
1049- TestCase :: new_with_source_subgraph (
1036+ TestCase :: new_with_source_subgraphs (
10501037 "subgraph-data-sources" ,
10511038 subgraph_data_sources,
1052- "source-subgraph" ,
1039+ vec! [ "source-subgraph" ] ,
10531040 ) ,
1054- TestCase :: new_with_multiple_source_subgraphs (
1041+ TestCase :: new_with_source_subgraphs (
10551042 "multiple-subgraph-datasources" ,
10561043 test_multiple_subgraph_datasources,
10571044 vec![ "source-subgraph-a" , "source-subgraph-b" ] ,
0 commit comments