-
-
Notifications
You must be signed in to change notification settings - Fork 3
Add back REST API tests #79
Conversation
ecfdbb6
to
484c6d2
Compare
tests/integration/Api/CacheTest.php
Outdated
$this->cloudflareCache->verifyInvokedOnce('setEmail', [ '[email protected]' ]); | ||
$this->cloudflareCache->verifyInvokedMultipleTimes('setAuthKey', 1); | ||
$this->cloudflareCache->verifyInvokedOnce('setAuthKey', [ 'my-api-key' ]); | ||
//$this->cloudflareCache->verifyInvokedMultipleTimes('setEmail', 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is 75% valid code; is this commented out code?
No space found before comment text; expected "// $this->cloudflareCache->verifyInvokedMultipleTimes('setEmail', 1);" but found "//$this->cloudflareCache->verifyInvokedMultipleTimes('setEmail', 1);"
tests/integration/Api/CacheTest.php
Outdated
$this->cloudflareCache->verifyInvokedMultipleTimes('setAuthKey', 1); | ||
$this->cloudflareCache->verifyInvokedOnce('setAuthKey', [ 'my-api-key' ]); | ||
//$this->cloudflareCache->verifyInvokedMultipleTimes('setEmail', 1); | ||
//$this->cloudflareCache->verifyInvokedOnce('setEmail', [ '[email protected]' ]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is 69% valid code; is this commented out code?
No space found before comment text; expected "// $this->cloudflareCache->verifyInvokedOnce('setEmail', [ '[email protected]' ]);" but found "//$this->cloudflareCache->verifyInvokedOnce('setEmail', [ '[email protected]' ]);"
tests/integration/Api/CacheTest.php
Outdated
$this->cloudflareCache->verifyInvokedOnce('setAuthKey', [ 'my-api-key' ]); | ||
//$this->cloudflareCache->verifyInvokedMultipleTimes('setEmail', 1); | ||
//$this->cloudflareCache->verifyInvokedOnce('setEmail', [ '[email protected]' ]); | ||
//$this->cloudflareCache->verifyInvokedMultipleTimes('setAuthKey', 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is 75% valid code; is this commented out code?
No space found before comment text; expected "// $this->cloudflareCache->verifyInvokedMultipleTimes('setAuthKey', 1);" but found "//$this->cloudflareCache->verifyInvokedMultipleTimes('setAuthKey', 1);"
tests/integration/Api/CacheTest.php
Outdated
//$this->cloudflareCache->verifyInvokedMultipleTimes('setEmail', 1); | ||
//$this->cloudflareCache->verifyInvokedOnce('setEmail', [ '[email protected]' ]); | ||
//$this->cloudflareCache->verifyInvokedMultipleTimes('setAuthKey', 1); | ||
//$this->cloudflareCache->verifyInvokedOnce('setAuthKey', [ 'my-api-key' ]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is 69% valid code; is this commented out code?
No space found before comment text; expected "// $this->cloudflareCache->verifyInvokedOnce('setAuthKey', [ 'my-api-key' ]);" but found "//$this->cloudflareCache->verifyInvokedOnce('setAuthKey', [ 'my-api-key' ]);"
Close #68