Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
sinan
mongo-php-library
Commits
541af6da
Commit
541af6da
authored
Apr 06, 2017
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #352
parents
ed578ab2
c002dda2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
949 additions
and
2 deletions
+949
-2
DocumentationExamplesTest.php
tests/DocumentationExamplesTest.php
+947
-0
TestCase.php
tests/TestCase.php
+2
-2
No files found.
tests/DocumentationExamplesTest.php
0 → 100644
View file @
541af6da
This diff is collapsed.
Click to expand it.
tests/TestCase.php
View file @
541af6da
...
@@ -22,9 +22,9 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
...
@@ -22,9 +22,9 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
*/
*/
protected
function
getCollectionName
()
protected
function
getCollectionName
()
{
{
$class
=
new
ReflectionClass
(
$this
);
$class
=
new
ReflectionClass
(
$this
);
return
sprintf
(
'%s.%s'
,
$class
->
getShortName
(),
hash
(
'crc32b'
,
$this
->
getName
()));
return
sprintf
(
'%s.%s'
,
$class
->
getShortName
(),
hash
(
'crc32b'
,
$this
->
getName
()));
}
}
/**
/**
...
...
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