Skip to content

Commit 381fde5

Browse files
authored
Update Organization2ContactsTest.php
1 parent b5afc05 commit 381fde5

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

tests/ContextTypes/Organization2ContactsTest.php

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ class Organization2ContactsTest extends TestCase
1919
],
2020
'logo' => 'https://google.com/thumbnail1.jpg',
2121
'contactPoint' => [
22-
['@type' => 'contactPoint',
22+
['@type' => 'contactPoint',
2323
'telephone' => '18008888888',
2424
'contactType' => 'customer service',
25-
],
26-
['@type' => 'contactPoint',
25+
],
26+
['@type' => 'contactPoint',
2727
'telephone' => '18009999999',
2828
'contactType' => 'sales',
29-
],
29+
],
3030
],
3131
];
3232

@@ -37,16 +37,15 @@ public function shouldHave2ContactsArray()
3737
{
3838
$context = $this->make();
3939

40-
$this->assertEquals([
41-
'@type' => 'ContactPoint',
42-
'telephone' => '18008888888',
43-
'contactType' => 'customer service',
44-
], $context->getProperty('contactPoint')[0]);
45-
$this->assertEquals([
46-
'@type' => 'ContactPoint',
47-
'telephone' => '18009999999',
48-
'contactType' => 'sales',
49-
], $context->getProperty('contactPoint')[1]);
40+
$this->assertEquals([
41+
'@type' => 'ContactPoint',
42+
'telephone' => '18008888888',
43+
'contactType' => 'customer service',
44+
], $context->getProperty('contactPoint')[0]);
45+
$this->assertEquals([
46+
'@type' => 'ContactPoint',
47+
'telephone' => '18009999999',
48+
'contactType' => 'sales',
49+
], $context->getProperty('contactPoint')[1]);
5050
}
51-
5251
}

0 commit comments

Comments
 (0)