文件名
This commit is contained in:
1 parent
5b95fe8f40
commit
0a0500dd70
2 files changed
+16
-1
No files matched your search
@@ -311,6 +311,9 @@ public sealed class ExperimentGradesControllerTests
|
||||
sheet.Id, CancellationToken.None));
|
||||
Assert.Equal("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
||||
template.ContentType);
|
||||
Assert.Equal(
|
||||
"实验成绩-CSLAB-系统实验-2099-1-CSLAB-01-系统实验教学班-LAB-EXCEL-Excel 实验成绩-导入模板.xlsx",
|
||||
template.FileDownloadName);
|
||||
await using var templateStream = new MemoryStream(template.FileContents);
|
||||
await using var stream = new MemoryStream();
|
||||
using (var workbook = new XLWorkbook(templateStream))
|
||||
|
||||
Reference in new issue
Block a user