Skip to content

PHPC-786: Tests for appname URI option #412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

derickr
Copy link
Contributor

@derickr derickr commented Sep 19, 2016

<?php
$name1 = str_repeat( "PHONGO", 20 );
$name2 = str_repeat( "PHONGO", 20 );
$manager = new \MongoDB\Driver\Manager("mongodb://localhost:27017/?appname={$name1}", [ 'appname' => "2-{$name2}" ] );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this test is actually connecting, we should be using STANDALONE here with the usual boilerplate SKIPIF and includes.

@jmikola jmikola changed the title Add two tests that I had forgotten to add. PHPC-786: Tests for appname URI option Sep 19, 2016
@jmikola
Copy link
Member

jmikola commented Sep 19, 2016

I'll implement the test changes and merge this.

jmikola added a commit that referenced this pull request Sep 19, 2016
@jmikola
Copy link
Member

jmikola commented Sep 19, 2016

Manually merged in e9d9f0d. I also renamed the test files to be consistent with names in #400.

@jmikola jmikola closed this Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants