Port to Funogram #75
0 passed, 25 failed and 0 skipped
❌ src/VahterBanBot.Tests/TestResults/test-results.trx
25 tests were completed in 89s 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Random path returns OK
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Should be possible to interact with the bot
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ PingTests+PingTests
❌ Message got recorded
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Message not recorded if chat is not on the list
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ VahterBanBot.Tests.BanTests+BanTests
❌ NON Vahter can't ban on reply
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Only Vahter can unban user
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Vahter can ban on reply
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Vahter can unban user
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Vahter can't ban another vahter
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Vahter can't ban on reply in non-allowed chat
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ VahterBanBot.Tests.MessageTests+MessageTests
❌ All data from the message being saved
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ VahterBanBot.Tests.MLBanTests+MLBanTests
❌ If message got auto-deleted we can mark it as false-positive with a button click
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Message IS autobanned if it is a known false-negative spam
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Message IS autobanned if it looks like a spam
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Message is NOT autobanned if it has a stopword in specific chat
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Message is NOT autobanned if it is a known false-positive spam
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Message is NOT autobanned if it looks like a spam BUT local admin sent it
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Message is NOT autobanned if it looks like a spam BUT vahter sent it
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Message which were edited triggers auto-delete
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Message with spam in photo caption also triggers auto-delete
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ Only vahter can press THE BUTTON(s)
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ User can be saved from auto ban by vahter marking it false-positive
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ User can recover from autoban by sending good messages
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
❌ User will be autobanned after consecutive spam
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Annotations
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---
Check failure on line 177 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.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
Raw output
System.Exception : 2024-10-24T20:36:55.718858941Z Unhandled exception. System.AggregateException: One or more errors occurred. (Exception of type 'Funogram.Types+ApiResponseException' was thrown.)
2024-10-24T20:36:55.718889337Z ---> ApiResponseException: Unauthorized. Code: 401
2024-10-24T20:36:55.718895238Z --- End of inner exception stack trace ---
2024-10-24T20:36:55.718899055Z at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2024-10-24T20:36:55.718902972Z at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2024-10-24T20:36:55.718906489Z at System.Threading.Tasks.Task.Wait()
2024-10-24T20:36:55.718909925Z at <StartupCode$VahterBanBot>.$Program.main@() in /src/VahterBanBot/Program.fs:line 192
at VahterBanBot.Tests.ContainerTestBase.Xunit-IAsyncLifetime-InitializeAsync@137.MoveNext() in /home/runner/work/vahter-bot/vahter-bot/src/VahterBanBot.Tests/ContainerTestBase.fs:line 177
--- End of stack trace from previous location ---