Update plugins/jenkins-backend/src/service/jenkinsApi.test.ts

Co-authored-by: MT Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Hasan Oezdemir <21654050+nodify-at@users.noreply.github.com>
This commit is contained in:
Hasan Ozdemir
2022-03-02 13:07:41 +01:00
committed by Hasan Oezdemir
parent 70f29c5423
commit 950003f5f3
@@ -435,7 +435,7 @@ describe('JenkinsApi', () => {
).rejects.toThrow(NotAllowedError);
});
it('buildProject should success if it have required permissions', async () => {
it('buildProject should succeed if it have required permissions', async () => {
fakePermissionApi.authorize.mockResolvedValueOnce([
{
result: AuthorizeResult.ALLOW,