<?php
namespace TestsFeature;
use TestsTestCase;
use IlluminateFoundationTestingWithFaker;
use IlluminateFoundationTestingRefreshDatabase;
class MemberRegTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testExample()
{
$response = $this->call('GET', '/addmember');
$response = $this->action('GET', 'MemberController@addmember');
}
}
After testing gives me error
Error: Call to undefined method TestsFeatureMemberRegTest::action()
What i do wrong?
See Question&Answers more detail:os