Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move mocks to src directory #21

Merged
merged 2 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Facades/RecaptchaEnterprise.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Illuminate\Support\Facades\Facade;
use Oneduo\RecaptchaEnterprise\Contracts\RecaptchaContract;
use Oneduo\RecaptchaEnterprise\Services\RecaptchaService;
use Oneduo\RecaptchaEnterprise\Tests\Mocks\FakeRecaptchaEnterprise;
use Oneduo\RecaptchaEnterprise\Mocks\FakeRecaptchaEnterprise;

/**
* @method static static setThreshold(float $threshold)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@

declare(strict_types=1);

namespace Oneduo\RecaptchaEnterprise\Tests\Mocks;
namespace Oneduo\RecaptchaEnterprise\Mocks;

use Carbon\CarbonInterval;
use Google\Cloud\RecaptchaEnterprise\V1\TokenProperties;
use Illuminate\Support\Carbon;
use Oneduo\RecaptchaEnterprise\Contracts\RecaptchaContract;
use RuntimeException;

/**
* @codeCoverageIgnore
*/
class FakeRecaptchaEnterprise implements RecaptchaContract
{
public ?float $threshold;
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Oneduo\RecaptchaEnterprise\Contracts\RecaptchaContract;
use Oneduo\RecaptchaEnterprise\RecaptchaEnterpriseServiceProvider;
use Oneduo\RecaptchaEnterprise\Tests\Mocks\FakeRecaptchaEnterprise;
use Oneduo\RecaptchaEnterprise\Mocks\FakeRecaptchaEnterprise;
use Orchestra\Testbench\TestCase as Orchestra;

class TestCase extends Orchestra
Expand Down
Loading