Crud\TestCase\Controller\Crud\CrudComponentTest::testFindMethodMultipleActions PHP Method

testFindMethodMultipleActions() public method

Test changing view var for multiple actions works
    public function testFindMethodMultipleActions()
    {
        $this->markTestSkipped('Tests still not updated.');
        $this->Crud->findMethod(['index' => 'my_all', 'view' => 'my_view']);
        $expected = 'my_all';
        $result = $this->Crud->action('index')->findMethod();
        $this->assertEquals($expected, $result);
        $expected = 'my_view';
        $result = $this->Crud->action('view')->findMethod();
        $this->assertEquals($expected, $result);
    }