Skip to content

Commit bf54a2c

Browse files
committed
Format tests
1 parent 6b201e6 commit bf54a2c

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

tests/Unit/Indices/FakeIndexManagerTest.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@
7676

7777
test('fake index manager records aliases', function () {
7878
$indices = new FakeIndexManager;
79-
$alias = new Alias('published_posts', ['term' => ['status' => 'published']], 'tenant-1');
79+
80+
$alias = new Alias('published_posts', [
81+
'term' => ['status' => 'published'],
82+
], 'tenant-1');
8083

8184
$indices->putAlias('posts', $alias);
8285

@@ -89,6 +92,7 @@
8992

9093
test('fake index manager records deleted aliases', function () {
9194
$indices = new FakeIndexManager;
95+
9296
$indices->putAlias('posts', new Alias('published_posts'));
9397

9498
$indices->deleteAlias('posts', 'published_posts');
@@ -99,7 +103,12 @@
99103
});
100104

101105
test('fake index manager applies atomic alias updates', function () {
102-
$indices = new FakeIndexManager(existing: ['posts_blue', 'posts_green', 'posts_retired']);
106+
$indices = new FakeIndexManager(existing: [
107+
'posts_blue',
108+
'posts_green',
109+
'posts_retired',
110+
]);
111+
103112
$indices->putAlias('posts_blue', new Alias('posts', isWriteIndex: true));
104113

105114
$actions = (new AliasActions)

0 commit comments

Comments
 (0)