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

Update facades.md #407

Open
wants to merge 1 commit into
base: 11.x
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions facades.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ git: 1a3d112255c8d0da2cbc10ebe581deebdd172ae2
```php tab=Pest
use Illuminate\Support\Facades\Cache;

test('basic example', function () {
test('базовый пример', function () {
Cache::shouldReceive('get')
->with('key')
->andReturn('value');
Expand All @@ -83,7 +83,7 @@ test('basic example', function () {
use Illuminate\Support\Facades\Cache;

/**
* A basic functional test example.
* Пример базового функционального теста.
*/
public function test_basic_example(): void
{
Expand Down Expand Up @@ -236,7 +236,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase;

uses(RefreshDatabase::class);

test('podcast can be published', function () {
test('подкаст может быть опубликован', function () {
$podcast = Podcast::factory()->create();

Publisher::shouldReceive('publish')->once()->with($podcast);
Expand All @@ -260,7 +260,7 @@ class PodcastTest extends TestCase
use RefreshDatabase;

/**
* A test example.
* Тестовый пример.
*/
public function test_podcast_can_be_published(): void
{
Expand Down