本文整理汇总了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');