Skip to content

Commit

Permalink
Fixed github link, fixed mongo-id tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Aug 17, 2013
1 parent 0666cd5 commit b7d9c93
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 423 deletions.
400 changes: 0 additions & 400 deletions src/League/Collection.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/League/Monga.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Cursor.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Aggregation.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Computer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Find.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Indexes.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Projection.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Remove.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Where.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Frank de Jonge
* @license MIT License
* @copyright 2011 - 2012 Frank de Jonge
* @link http://github.com/php-sbfc/monga
* @link http://github.com/php-leop/monga
*/

namespace League\Monga\Query;
Expand Down
8 changes: 4 additions & 4 deletions tests/FilesystemTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class FilesystemTests extends PHPUnit_Framework_TestCase
{
public function testStore()
{
$id = new MongoId('09ecu0q9fh2h3');
$id = new MongoId('516ba5033b21c50005a93f76');

$mock = $this->getMockBuilder('MongoGridFS')
->disableOriginalConstructor()
Expand All @@ -43,7 +43,7 @@ public function testStore()

public function testStoreBytes()
{
$id = new MongoId('09ecu0q9fh2h3');
$id = new MongoId('516ba5033b21c50005a93f76');

$mock = $this->getMockBuilder('MongoGridFS')
->disableOriginalConstructor()
Expand All @@ -63,7 +63,7 @@ public function testStoreBytes()

public function testStoreUpload()
{
$id = new MongoId('09ecu0q9fh2h3');
$id = new MongoId('516ba5033b21c50005a93f76');

$mock = $this->getMockBuilder('MongoGridFS')
->disableOriginalConstructor()
Expand Down Expand Up @@ -133,7 +133,7 @@ public function testExtract()

public function testStoreFile()
{
$id = new MongoId('09ecu0q9fh2h3');
$id = new MongoId('516ba5033b21c50005a93f76');

$mock = $this->getMockBuilder('MongoGridFS')
->disableOriginalConstructor()
Expand Down
3 changes: 1 addition & 2 deletions tests/MongaTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class MongaTests extends PHPUnit_Framework_TestCase
{
public function testMongaId()
{
$id = Monga::id('pe9ufpweuf');
$id = Monga::id('516ba5033b21c50005a93f76');

$this->assertInstanceOf('MongoId', $id);
}
Expand Down Expand Up @@ -45,7 +45,6 @@ public function testMongaDate()

$this->assertInstanceOf('MongoDate', $date);
$this->assertEquals($time, $date->sec);
$this->assertEquals(2, $date->usec);
}

public function testMongaRegex()
Expand Down

0 comments on commit b7d9c93

Please sign in to comment.