Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 73... Línea 73...
73
    /**
73
    /**
74
     * Test the history action url from the helper class.
74
     * Test the history action url from the helper class.
75
     *
75
     *
76
     * @covers ::question_history_url
76
     * @covers ::question_history_url
77
     */
77
     */
78
    public function test_question_history_url() {
78
    public function test_question_history_url(): void {
79
        $this->resetAfterTest();
79
        $this->resetAfterTest();
80
        $filter = urlencode('filters[]');
80
        $filter = urlencode('filters[]');
81
        $actionurl = helper::question_history_url(
81
        $actionurl = helper::question_history_url(
82
            $this->questiondata->questionbankentryid,
82
            $this->questiondata->questionbankentryid,
83
            $this->returnurl,
83
            $this->returnurl,
Línea 97... Línea 97...
97
    /**
97
    /**
98
     * Test the history action url when the filter parameter is null.
98
     * Test the history action url when the filter parameter is null.
99
     *
99
     *
100
     * @covers ::question_history_url
100
     * @covers ::question_history_url
101
     */
101
     */
102
    public function test_question_history_url_null_filter() {
102
    public function test_question_history_url_null_filter(): void {
103
        $this->resetAfterTest();
103
        $this->resetAfterTest();
104
        $actionurl = helper::question_history_url(
104
        $actionurl = helper::question_history_url(
105
            $this->questiondata->questionbankentryid,
105
            $this->questiondata->questionbankentryid,
106
            $this->returnurl,
106
            $this->returnurl,
107
            $this->courseid,
107
            $this->courseid,