Skip to content

Add function to check to just see if a cookie is present or not - #205

Merged
kenjis merged 3 commits into
masterfrom
add-to-check-cookie-is-present-or-not
Aug 27, 2017
Merged

Add function to check to just see if a cookie is present or not#205
kenjis merged 3 commits into
masterfrom
add-to-check-cookie-is-present-or-not

Conversation

@kenjis

@kenjis kenjis commented Aug 27, 2017

Copy link
Copy Markdown
Owner

This PR enables you can write a test like the following:

	public function test_cookie_is_just_set()
	{
		$output = $this->request('GET', 'set_cookie/name_and_value');
		$this->assertResponseCookie(
			'The-Cookie-Name', $this->anything()
		);
	}

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 5984e24 on add-to-check-cookie-is-present-or-not into ** on master**.

@kenjis
kenjis merged commit de13828 into master Aug 27, 2017
@kenjis
kenjis deleted the add-to-check-cookie-is-present-or-not branch March 18, 2018 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants