@@ -29,7 +29,7 @@ public async Task List_reports_returns_registered_report()
2929 var reports = await client . GetFromJsonAsync < List < JsonElement > > ( "/api/reports" , Json ) ;
3030
3131 reports . ShouldNotBeNull ( ) ;
32- reports . ShouldContain ( r => r . GetProperty ( "name" ) . GetString ( ) == "vendas " ) ;
32+ reports . ShouldContain ( r => r . GetProperty ( "name" ) . GetString ( ) == "sales " ) ;
3333 }
3434
3535 [ Fact ]
@@ -39,7 +39,7 @@ public async Task Async_run_goes_queued_to_completed_and_downloads()
3939 var client = host . GetTestClient ( ) ;
4040
4141 // CA-9: async trigger returns 202 + jobId.
42- var run = await client . PostAsJsonAsync ( "/api/reports/vendas /run" , new { parameters = ( object ? ) null } , Json ) ;
42+ var run = await client . PostAsJsonAsync ( "/api/reports/sales /run" , new { parameters = ( object ? ) null } , Json ) ;
4343 run . StatusCode . ShouldBe ( HttpStatusCode . Accepted ) ;
4444
4545 var accepted = await run . Content . ReadFromJsonAsync < JsonElement > ( Json ) ;
@@ -65,7 +65,7 @@ public async Task Async_run_goes_queued_to_completed_and_downloads()
6565 download . Content . Headers . ContentDisposition ! . FileName ! . Trim ( '"' ) . ShouldEndWith ( ".csv" ) ;
6666
6767 var text = await download . Content . ReadAsStringAsync ( ) ;
68- text . ShouldContain ( "ID;Cliente " ) ; // header
68+ text . ShouldContain ( "ID;Customer " ) ; // header
6969 text . ShouldContain ( "1;C1" ) ; // first row
7070 var dataLines = text . Split ( '\n ' , StringSplitOptions . RemoveEmptyEntries ) ;
7171 dataLines . Length . ShouldBe ( 31 ) ; // header + 30 rows
@@ -78,14 +78,14 @@ public async Task Sync_run_streams_single_output_with_content_disposition()
7878 var client = host . GetTestClient ( ) ;
7979
8080 // CA-10: sync streams the file directly.
81- var response = await client . PostAsJsonAsync ( "/api/reports/vendas /run?mode=sync" , new { } , Json ) ;
81+ var response = await client . PostAsJsonAsync ( "/api/reports/sales /run?mode=sync" , new { } , Json ) ;
8282
8383 response . StatusCode . ShouldBe ( HttpStatusCode . OK ) ;
8484 response . Content . Headers . ContentType ! . MediaType . ShouldBe ( "text/csv" ) ;
8585 response . Content . Headers . ContentDisposition ! . FileName ! . Trim ( '"' ) . ShouldEndWith ( ".csv" ) ;
8686
8787 var text = await response . Content . ReadAsStringAsync ( ) ;
88- text . ShouldContain ( "ID;Cliente " ) ;
88+ text . ShouldContain ( "ID;Customer " ) ;
8989 text . ShouldContain ( "30;C30" ) ;
9090 }
9191
@@ -94,7 +94,7 @@ public async Task Sync_run_rejects_multi_output_with_400()
9494 {
9595 using var host = await TestApp . StartAsync ( services =>
9696 {
97- services . AddReport < Venda > ( "multi" , b => b
97+ services . AddReport < Sale > ( "multi" , b => b
9898 . From ( new InMemorySource ( rows : 5 , pageSize : 10 ) )
9999 . Column ( v => v . Id , "ID" )
100100 . To ( Csv ( o => o . Delimiter ( ';' ) ) )
@@ -157,7 +157,7 @@ public async Task Cancel_running_job_is_accepted()
157157 // A slow source keeps the job running long enough to cancel it deterministically.
158158 using var host = await TestApp . StartAsync ( services =>
159159 {
160- services . AddReport < Venda > ( "slow" , b => b
160+ services . AddReport < Sale > ( "slow" , b => b
161161 . From ( new InMemorySource ( rows : 100_000 , pageSize : 10 , delay : TimeSpan . FromMilliseconds ( 20 ) ) )
162162 . Column ( v => v . Id , "ID" )
163163 . To ( Csv ( o => o . Delimiter ( ';' ) ) ) ) ;
@@ -185,7 +185,7 @@ public async Task Download_multi_output_returns_zip()
185185 {
186186 using var host = await TestApp . StartAsync ( services =>
187187 {
188- services . AddReport < Venda > ( "multi" , b => b
188+ services . AddReport < Sale > ( "multi" , b => b
189189 . From ( new InMemorySource ( rows : 5 , pageSize : 10 ) )
190190 . Column ( v => v . Id , "ID" )
191191 . To ( Csv ( o => o . Delimiter ( ';' ) ) )
0 commit comments