Skip to content

User typeahead enabled for non-admin project managers #1237

User typeahead enabled for non-admin project managers

User typeahead enabled for non-admin project managers #1237

GitHub Actions / C# Unit Tests failed Nov 19, 2024 in 0s

3 fail, 95 pass in 5s

98 tests  +1   95 ✅  - 2   5s ⏱️ ±0s
15 suites ±0    0 💤 ±0 
 1 files   ±0    3 ❌ +3 

Results for commit 096d825. ± Comparison against earlier commit f1747b2.

Annotations

Check warning on line 0 in Testing.LexCore.Services.UserServiceTest

See this annotation in the file changed.

@github-actions github-actions / C# Unit Tests

MemberOfOnePrivateProjectButNoOrgsCanOnlySeeHimself (Testing.LexCore.Services.UserServiceTest) failed

./test-results/Testing.results.xml [took 0s]
Raw output
Expected actualNames to be a collection with 1 item(s), but found an empty collection.

With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Include all non-private properties
- Include all non-private fields
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
   at FluentAssertions.Execution.AssertionScope.Dispose()
   at FluentAssertions.Equivalency.EquivalencyValidator.AssertEquality(Comparands comparands, EquivalencyValidationContext context)
   at FluentAssertions.Collections.StringCollectionAssertions`2.BeEquivalentTo(IEnumerable`1 expectation, Func`2 config, String because, Object[] becauseArgs)
   at Testing.LexCore.Services.UserServiceTest.UserListShouldBe(IEnumerable`1 actual, IEnumerable`1 expected) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/LexCore/Services/UserServiceTest.cs:line 94
   at Testing.LexCore.Services.UserServiceTest.MemberOfOnePrivateProjectButNoOrgsCanOnlySeeHimself() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/LexCore/Services/UserServiceTest.cs:line 183
--- End of stack trace from previous location ---

Check warning on line 0 in Testing.LexCore.Services.UserServiceTest

See this annotation in the file changed.

@github-actions github-actions / C# Unit Tests

ManagerOfOneProjectAndMemberOfAnotherPublicProjectCanSeeUsersInBoth (Testing.LexCore.Services.UserServiceTest) failed

./test-results/Testing.results.xml [took 0s]
Raw output
Expected actualNames to be a collection with 5 item(s), but {"Little John", "Alan a Dale", "Robin Hood", "Maid Marian", "Friar Tuck", "Sheriff of Nottingham"}
contains 1 item(s) more than
{"Robin Hood", "Maid Marian", "Little John", "Friar Tuck", "Sheriff of Nottingham"}.

With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Include all non-private properties
- Include all non-private fields
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
   at FluentAssertions.Execution.AssertionScope.Dispose()
   at FluentAssertions.Equivalency.EquivalencyValidator.AssertEquality(Comparands comparands, EquivalencyValidationContext context)
   at FluentAssertions.Collections.StringCollectionAssertions`2.BeEquivalentTo(IEnumerable`1 expectation, Func`2 config, String because, Object[] becauseArgs)
   at Testing.LexCore.Services.UserServiceTest.UserListShouldBe(IEnumerable`1 actual, IEnumerable`1 expected) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/LexCore/Services/UserServiceTest.cs:line 94
   at Testing.LexCore.Services.UserServiceTest.ManagerOfOneProjectAndMemberOfAnotherPublicProjectCanSeeUsersInBoth() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/LexCore/Services/UserServiceTest.cs:line 124
--- End of stack trace from previous location ---

Check warning on line 0 in Testing.LexCore.Services.UserServiceTest

See this annotation in the file changed.

@github-actions github-actions / C# Unit Tests

ManagerCanSeeAllUsersEvenInConfidentialProjects (Testing.LexCore.Services.UserServiceTest) failed

./test-results/Testing.results.xml [took 0s]
Raw output
Expected actualNames to be a collection with 4 item(s), but {"Little John", "Alan a Dale", "Maid Marian", "Robin Hood", "Friar Tuck"}
contains 1 item(s) more than
{"Robin Hood", "Maid Marian", "Little John", "Friar Tuck"}.

With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Include all non-private properties
- Include all non-private fields
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
   at FluentAssertions.Execution.AssertionScope.Dispose()
   at FluentAssertions.Equivalency.EquivalencyValidator.AssertEquality(Comparands comparands, EquivalencyValidationContext context)
   at FluentAssertions.Collections.StringCollectionAssertions`2.BeEquivalentTo(IEnumerable`1 expectation, Func`2 config, String because, Object[] becauseArgs)
   at Testing.LexCore.Services.UserServiceTest.UserListShouldBe(IEnumerable`1 actual, IEnumerable`1 expected) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/LexCore/Services/UserServiceTest.cs:line 94
   at Testing.LexCore.Services.UserServiceTest.ManagerCanSeeAllUsersEvenInConfidentialProjects() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/LexCore/Services/UserServiceTest.cs:line 104
--- End of stack trace from previous location ---