Skip to content

Commit 81b1dce

Browse files
committed
change namespace and name of HttpRecorder
- change `plugin` to `macro`, because it is a more accurate definition
1 parent 6448c31 commit 81b1dce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/LaravelNotionApiServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace FiveamCode\LaravelNotionApi;
44

5-
use FiveamCode\LaravelNotionApi\Tests\Plugins\PestPluginHttpRecorder;
5+
use FiveamCode\LaravelNotionApi\Tests\Macros\PestHttpRecorder;
66
use Illuminate\Support\ServiceProvider;
77

88
/**
@@ -35,7 +35,7 @@ public function register()
3535
});
3636

3737
if ($this->app->runningInConsole()) {
38-
PestPluginHttpRecorder::register();
38+
PestHttpRecorder::register();
3939
}
4040
}
4141
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

3-
namespace FiveamCode\LaravelNotionApi\Tests\Plugins;
3+
namespace FiveamCode\LaravelNotionApi\Tests\Macros;
44

55
use GuzzleHttp\Client;
66
use Illuminate\Http\Client\Request;
77
use Illuminate\Support\Facades\File;
88
use Illuminate\Support\Facades\Http;
99
use Illuminate\Support\Str;
1010

11-
class PestPluginHttpRecorder
11+
class PestHttpRecorder
1212
{
1313
public static function register()
1414
{

0 commit comments

Comments
 (0)