Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
TelegramBot
Commits
69eed4ca
Commit
69eed4ca
authored
Nov 25, 2016
by
MBoretto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove conflics test
parent
be36bbbc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
39 deletions
+0
-39
FileTest.php
tests/unit/Entities/FileTest.php
+0
-13
LocationTest.php
tests/unit/Entities/LocationTest.php
+0
-26
No files found.
tests/unit/Entities/FileTest.php
View file @
69eed4ca
...
@@ -103,19 +103,6 @@ class FileTest extends TestCase
...
@@ -103,19 +103,6 @@ class FileTest extends TestCase
$this
->
assertEquals
(
$this
->
data
[
'file_path'
],
$path
);
$this
->
assertEquals
(
$this
->
data
[
'file_path'
],
$path
);
}
}
/**
*
* Testing without file id
*
* @expectedException Longman\TelegramBot\Exception\TelegramException
*
*/
public
function
testCreateInstanceWithoutFileId
()
{
unset
(
$this
->
data
[
'file_id'
]);
new
File
(
$this
->
data
);
}
/**
/**
*
*
* Testing getFileSize without data
* Testing getFileSize without data
...
...
tests/unit/Entities/LocationTest.php
View file @
69eed4ca
...
@@ -89,30 +89,4 @@ class LocationTest extends TestCase
...
@@ -89,30 +89,4 @@ class LocationTest extends TestCase
$this
->
assertInternalType
(
'float'
,
$lat
);
$this
->
assertInternalType
(
'float'
,
$lat
);
$this
->
assertEquals
(
$this
->
coordinates
[
'latitude'
],
$lat
);
$this
->
assertEquals
(
$this
->
coordinates
[
'latitude'
],
$lat
);
}
}
/**
*
* Testing without longitude
*
* @expectedException Longman\TelegramBot\Exception\TelegramException
*
*/
public
function
testCreateInstanceWithoutLongitude
()
{
unset
(
$this
->
coordinates
[
'longitude'
]);
new
Location
(
$this
->
coordinates
);
}
/**
*
* Testing without latitude
*
* @expectedException Longman\TelegramBot\Exception\TelegramException
*
*/
public
function
testCreateInstanceWithoutLatitude
()
{
unset
(
$this
->
coordinates
[
'latitude'
]);
new
Location
(
$this
->
coordinates
);
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment