Port to Funogram #69
0 passed, 25 failed and 0 skipped
❌ src/VahterBanBot.Tests/TestResults/test-results.trx
25 tests were completed in 37s with 0 passed, 25 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
BaseTests+BaseTests | 3❌ | 3ms | ||
PingTests+PingTests | 2❌ | 2ms | ||
VahterBanBot.Tests.BanTests+BanTests | 6❌ | 6ms | ||
VahterBanBot.Tests.MessageTests+MessageTests | 1❌ | 1ms | ||
VahterBanBot.Tests.MLBanTests+MLBanTests | 13❌ | 13ms |
❌ BaseTests+BaseTests
❌ Not possible to interact with the bot without authorization
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Random path returns OK
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Should be possible to interact with the bot
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ PingTests+PingTests
❌ Message got recorded
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Message not recorded if chat is not on the list
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ VahterBanBot.Tests.BanTests+BanTests
❌ NON Vahter can't ban on reply
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Only Vahter can unban user
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Vahter can ban on reply
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Vahter can unban user
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Vahter can't ban another vahter
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Vahter can't ban on reply in non-allowed chat
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ VahterBanBot.Tests.MessageTests+MessageTests
❌ All data from the message being saved
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ VahterBanBot.Tests.MLBanTests+MLBanTests
❌ If message got auto-deleted we can mark it as false-positive with a button click
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Message IS autobanned if it is a known false-negative spam
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Message IS autobanned if it looks like a spam
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Message is NOT autobanned if it has a stopword in specific chat
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Message is NOT autobanned if it is a known false-positive spam
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Message is NOT autobanned if it looks like a spam BUT local admin sent it
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Message is NOT autobanned if it looks like a spam BUT vahter sent it
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Message which were edited triggers auto-delete
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Message with spam in photo caption also triggers auto-delete
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ Only vahter can press THE BUTTON(s)
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ User can be saved from auto ban by vahter marking it false-positive
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ User can recover from autoban by sending good messages
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
❌ User will be autobanned after consecutive spam
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Annotations
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
BaseTests+BaseTests ► Not possible to interact with the bot without authorization
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
BaseTests+BaseTests ► Random path returns OK
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
BaseTests+BaseTests ► Should be possible to interact with the bot
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
PingTests+PingTests ► Message got recorded
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
PingTests+PingTests ► Message not recorded if chat is not on the list
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
VahterBanBot.Tests.BanTests+BanTests ► NON Vahter can't ban on reply
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
VahterBanBot.Tests.BanTests+BanTests ► Only Vahter can unban user
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
VahterBanBot.Tests.BanTests+BanTests ► Vahter can ban on reply
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
VahterBanBot.Tests.BanTests+BanTests ► Vahter can unban user
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
VahterBanBot.Tests.BanTests+BanTests ► Vahter can't ban another vahter
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---
Check failure on line 161 in src/VahterBanBot.Tests/ContainerTestBase.fs
github-actions / Test results
VahterBanBot.Tests.BanTests+BanTests ► Vahter can't ban on reply in non-allowed chat
Failed test found in:
src/VahterBanBot.Tests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
Raw output
System.InvalidOperationException : Could not find resource 'DockerContainer'. Please create the resource by calling StartAsync(CancellationToken) or CreateAsync(CancellationToken).
at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause) in /_/src/Testcontainers/Guard.Null.cs:line 62
at DotNet.Testcontainers.Resource.ThrowIfResourceNotFound() in /_/src/Testcontainers/Resource.cs:line 79
at DotNet.Testcontainers.Containers.DockerContainer.get_Id() in /_/src/Testcontainers/Containers/DockerContainer.cs:line 82
at DotNet.Testcontainers.Containers.DockerContainer.GetLogsAsync(DateTime since, DateTime until, Boolean timestampsEnabled, CancellationToken ct) in /_/src/Testcontainers/Containers/DockerContainer.cs:line 260
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@118.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 161
--- End of stack trace from previous location ---