本文整理匯總了PHP中FunctionalTester::postAStatus方法的典型用法代碼示例。如果您正苦於以下問題:PHP FunctionalTester::postAStatus方法的具體用法?PHP FunctionalTester::postAStatus怎麽用?PHP FunctionalTester::postAStatus使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類FunctionalTester
的用法示例。
在下文中一共展示了FunctionalTester::postAStatus方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: FunctionalTester
<?php
$I = new FunctionalTester($scenario);
$I->am('a Larabook member');
$I->wantTo('I want to view my profile.');
$I->signIn();
$I->postAStatus('My new status.');
$I->click('Your Profile');
$I->seeCurrentUrlEquals('/@Foobar');
$I->see('My new status.');
示例2: FunctionalTester
<?php
$I = new FunctionalTester($scenario);
$I->am('a Larabook member');
$I->wantTo('post statuses to my profile');
$I->signIn();
$I->amOnPage('statuses');
$I->postAStatus('My first post.');
$I->seeCurrentUrlEquals('/statuses');
$I->see('My first post');
示例3: FunctionalTester
<?php
$I = new FunctionalTester($scenario);
$I->am('a Larabook Member');
$I->wantTo('Post Statuses to My Profile');
$I->signIn();
$I->amOnPage('/statuses');
$I->postAStatus('My First Post');
$I->seeInCurrentUrl('/statuses');
$I->see('My First Post');
示例4: FunctionalTester
<?php
$I = new FunctionalTester($scenario);
$I->am("A larabook member");
$I->wantTo('I want to view my profile');
$I->signIn();
$I->postAStatus('My New status');
$I->click('My Profile');
$I->seeCurrentUrlEquals('/@Foobar');
$I->see('My New status');