Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs module test failing #3670

Closed
hikalkan opened this issue Apr 19, 2020 · 0 comments
Closed

Docs module test failing #3670

hikalkan opened this issue Apr 19, 2020 · 0 comments

Comments

@hikalkan
Copy link
Member

[xUnit.net 00:00:03.91]     Volo.Docs.EntityFrameworkCore.ProjectRepository_Tests.GetByShortNameAsync [FAIL]
                                                                                                                          X Volo.Docs.EntityFrameworkCore.ProjectRepository_Tests.GetByShortNameAsync [2s 207ms]
  Error Message:
   Shouldly.ShouldAssertException : project.ShortName
    should be
"ABP"
    but was
"abp"
    difference
Difference     |  |    |    |
               | \|/  \|/  \|/
Index          | 0    1    2
Expected Value | A    B    P
Actual Value   | a    b    p
Expected Code  | 65   66   80
Actual Code    | 97   98   112
  Stack Trace:
     at Volo.Docs.ProjectRepository_Tests`1.GetByShortNameAsync() in D:\Github\abp\modules\docs\test\Volo.Docs.TestBase\Volo\Docs\ProjectRepository_Tests.cs:line 33
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
                                                                                                                        
Test Run Failed.
Total tests: 4
     Passed: 3
     Failed: 1
 Total time: 5.1458 Seconds
                                                                                                                        
Test Run Successful.
Total tests: 4
     Passed: 4
 Total time: 5.2451 Seconds
                                                                                                                        [xUnit.net 00:00:04.30]     Volo.Docs.Project.ProjectRepository_Tests.GetByShortNameAsync [FAIL]
                                                                                                                        [xUnit.net 00:00:04.62]     Volo.Docs.ApplicationService_Tests.GetAsync [FAIL]
                                                                                                                          X Volo.Docs.Project.ProjectRepository_Tests.GetByShortNameAsync [236ms]
  Error Message:
   Shouldly.ShouldAssertException : project.ShortName
    should be
"ABP"
    but was
"abp"
    difference
Difference     |  |    |    |
               | \|/  \|/  \|/
Index          | 0    1    2
Expected Value | A    B    P
Actual Value   | a    b    p
Expected Code  | 65   66   80
Actual Code    | 97   98   112
  Stack Trace:
     at Volo.Docs.ProjectRepository_Tests`1.GetByShortNameAsync() in D:\Github\abp\modules\docs\test\Volo.Docs.TestBase\Volo\Docs\ProjectRepository_Tests.cs:line 33
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
                                                                                                                        
Test Run Failed.
Total tests: 4
     Passed: 3
     Failed: 1
 Total time: 5.3530 Seconds
                                                                                                                          X Volo.Docs.ApplicationService_Tests.GetAsync [223ms]
  Error Message:
   Shouldly.ShouldAssertException : project.ShortName
    should be
"ABP"
    but was
"abp"
    difference
Difference     |  |    |    |
               | \|/  \|/  \|/
Index          | 0    1    2
Expected Value | A    B    P
Actual Value   | a    b    p
Expected Code  | 65   66   80
Actual Code    | 97   98   112
  Stack Trace:
     at Volo.Docs.ApplicationService_Tests.GetAsync() in D:\Github\abp\modules\docs\test\Volo.Docs.Application.Tests\Volo\Docs\ApplicationService_Tests.cs:line 33
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
                                                                                                                        
Test Run Failed.
Total tests: 3
     Passed: 2
     Failed: 1
 Total time: 5.6501 Seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants