Skip to content

fix: use lower case version of role when creating token (#237) #202

fix: use lower case version of role when creating token (#237)

fix: use lower case version of role when creating token (#237) #202

Triggered via push January 12, 2024 10:00
Status Success
Total duration 1m 58s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: OpenTok/SignalProperties.cs#L33
Missing XML comment for publicly visible type or member 'SignalProperties.data'
build: OpenTok/SignalProperties.cs#L34
Missing XML comment for publicly visible type or member 'SignalProperties.type'
build: OpenTok/StreamProperties.cs#L35
Missing XML comment for publicly visible type or member 'StreamProperties.addLayoutClass(string)'
build: OpenTokTest/TokenTests.cs#L45
The literal or constant value "subscriber" should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'GenerateTokenWithRoleTest' on type 'TokenTests'. Swap the parameter values.
build: OpenTokTest/TokenTests.cs#L27
The literal or constant value "publisher" should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'GenerateTokenTest' on type 'TokenTests'. Swap the parameter values.
build: OpenTokTest/TokenTests.cs#L83
The literal or constant value "publisher" should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'GenerateTokenWithConnectionDataTest' on type 'TokenTests'. Swap the parameter values.
build: OpenTokTest/TokenTests.cs#L64
The literal or constant value "publisher" should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'GenerateTokenWithExpireTimeTest' on type 'TokenTests'. Swap the parameter values.
build: OpenTokTest/TokenTests.cs#L104
The literal or constant value "publisher" should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'GenerateTokenWithInitialLayoutClass' on type 'TokenTests'. Swap the parameter values.
build: OpenTokTest/AudioConnectorStartRequestTests.cs#L123
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.
build: OpenTokTest/AudioConnectorStartRequestTests.cs#L102
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead.