Skip to content

Commit

Permalink
Fix error typo in tests directory. (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw authored Oct 26, 2023
1 parent 1cd3525 commit e6f39f6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/BaseClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function testGetDefaults(): void
}

/**
* @dataProvider yiiunit\extensions\authclient\Provider\Data::normalizeUserAttributes
* @dataProvider yiiunit\extensions\authclient\provider\Data::normalizeUserAttributes
*
* @depends testSetGet
*
Expand Down
6 changes: 3 additions & 3 deletions tests/BaseOAuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function testSetupComponentsByConfig(): void
}

/**
* @dataProvider yiiunit\extensions\authclient\Provider\Data::composeUrl
* @dataProvider yiiunit\extensions\authclient\provider\Data::composeUrl
*
* @param string $url request URL.
* @param array $params request params
Expand All @@ -136,7 +136,7 @@ public function testComposeUrl($url, array $params, $expectedUrl): void
/**
* @depends testSetupAccessToken
*
* @dataProvider yiiunit\extensions\authclient\Provider\Data::apiUrl
* @dataProvider yiiunit\extensions\authclient\provider\Data::apiUrl
*
* @param $apiBaseUrl
* @param $apiSubUrl
Expand All @@ -160,7 +160,7 @@ public function testApiUrl($apiBaseUrl, $apiSubUrl, $expectedApiFullUrl): void
}

/**
* @dataProvider yiiunit\extensions\authclient\Provider\Data::sendRequest
* @dataProvider yiiunit\extensions\authclient\provider\Data::sendRequest
*
* @param $responseStatusCode
* @param $expectedException
Expand Down
2 changes: 1 addition & 1 deletion tests/OAuth1Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function testAuthorizationHeaderMethods(): void
}

/**
* @dataProvider yiiunit\extensions\authclient\Provider\Data::composeAuthorizationHeader
* @dataProvider yiiunit\extensions\authclient\provider\Data::composeAuthorizationHeader
*
* @param string $realm authorization realm.
* @param array $params request params.
Expand Down
2 changes: 1 addition & 1 deletion tests/OpenIdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function testDiscover(): never
/**
* @see https://github.com/yiisoft/yii2/issues/3633
*
* @dataProvider yiiunit\extensions\authclient\Provider\Data::compareUrl
* @dataProvider yiiunit\extensions\authclient\provider\Data::compareUrl
*
* @param string $url1
* @param string $url2
Expand Down
2 changes: 1 addition & 1 deletion tests/TokenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function testSetupParamsShortcuts(): void
/**
* @depends testSetupParamsShortcuts
*
* @dataProvider yiiunit\extensions\authclient\Provider\Data::autoFetchExpireDuration
* @dataProvider yiiunit\extensions\authclient\provider\Data::autoFetchExpireDuration
*
* @param $expectedExpireDuration
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/Provider/Data.php → tests/provider/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace yiiunit\extensions\authclient\Provider;
namespace yiiunit\extensions\authclient\provider;

final class Data
{
Expand Down
2 changes: 1 addition & 1 deletion tests/signature/RsaShaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected function getTestPrivateCertificate()
}

/**
* @dataProvider yiiunit\extensions\authclient\Provider\Data::getName
* @dataProvider yiiunit\extensions\authclient\provider\Data::getName
*
* @param $algorithm
* @param $expectedName
Expand Down

0 comments on commit e6f39f6

Please sign in to comment.