File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tests/functional/org/nameapi/client/services Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010
1111class PersonNameParserServiceTest extends BaseServiceTest {
1212
13- public function testPing () {
13+ public function testParse () {
1414 $ personNameParser = $ this ->makeServiceFactory ()->parserServices ()->personNameParser ();
1515 $ inputPerson = NaturalInputPerson::builder ()
1616 ->name (InputPersonName::westernBuilder ()
1717 ->fullname ( "John Doe " )
1818 ->build ())
1919 ->build ();
2020 $ parseResult = $ personNameParser ->parse ($ inputPerson );
21- $ this ->assertEquals ($ parseResult ->getParsingStatus ()->toString (), ' SUCCESS ' );
21+ $ this ->assertEquals (' SUCCESS ' , $ parseResult ->getParsingStatus ()->toString ());
2222 }
2323
2424}
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ class PingerServiceTest extends BaseServiceTest {
1010
1111 public function testPing () {
1212 $ pinger = $ this ->makeServiceFactory ()->systemServices ()->pingerService ();
13- $ pong = $ pinger ->ping ();
14- $ this ->assertEquals ($ pong , 'pong ' );
13+ $ result = $ pinger ->ping ();
14+ $ this ->assertEquals ('pong ' , $ result );
1515 }
1616
1717}
You can’t perform that action at this time.
0 commit comments