aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/IntegratedTests
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-12 17:08:54 +0800
committercrupest <crupest@outlook.com>2021-02-12 17:08:54 +0800
commit6a1298a89f29c61718bae6a57855219fad10af47 (patch)
tree661ae40573c6f7ede0ec412239e99134ef58fe09 /BackEnd/Timeline.Tests/IntegratedTests
parente407b645aa7c6738c6f37c69f616c91c99bf1af0 (diff)
downloadtimeline-6a1298a89f29c61718bae6a57855219fad10af47.tar.gz
timeline-6a1298a89f29c61718bae6a57855219fad10af47.tar.bz2
timeline-6a1298a89f29c61718bae6a57855219fad10af47.zip
test: Add some helper function.
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests')
-rw-r--r--BackEnd/Timeline.Tests/IntegratedTests/TimelinePostTest.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests/TimelinePostTest.cs b/BackEnd/Timeline.Tests/IntegratedTests/TimelinePostTest.cs
index 0f264774..85db0908 100644
--- a/BackEnd/Timeline.Tests/IntegratedTests/TimelinePostTest.cs
+++ b/BackEnd/Timeline.Tests/IntegratedTests/TimelinePostTest.cs
@@ -401,13 +401,7 @@ namespace Timeline.Tests.IntegratedTests
testDataList.AddRange(testData.Select(d => new List<HttpTimelinePostCreateRequestData>() { d! }));
- foreach (var generatorTestData in TimelineNameGeneratorTestData())
- {
- var generator = generatorTestData[0];
-
- foreach (var d in testDataList)
- yield return new object?[] { generator, d };
- }
+ return TimelineNameGeneratorTestData().AppendTestData(testDataList);
}
[Theory]