Commit 8747702a authored by Monster3D's avatar Monster3D

Corrects code documentation

parent ef95789a
......@@ -94,12 +94,12 @@ class LocationTest extends TestCase
/**
*
* Testing getLongitude without longitude
* Testing without longitude
*
* @expectedException Longman\TelegramBot\Exception\TelegramException
*
*/
public function testGetLongitudeWithoutLongitude()
public function testCreateInstanceWithoutLongitude()
{
unset($this->coordinates['longitude']);
new Location($this->coordinates);
......@@ -107,12 +107,12 @@ class LocationTest extends TestCase
/**
*
* Testing getLongitude without latitude
* Testing without latitude
*
* @expectedException Longman\TelegramBot\Exception\TelegramException
*
*/
public function testGetLongitudeWithoutLatitude()
public function testCreateInstanceWithoutLatitude()
{
unset($this->coordinates['latitude']);
new Location($this->coordinates);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment