mirror of
https://github.com/altlinux/admc.git
synced 2025-02-13 05:57:40 +03:00
fix test for string other edit
This commit is contained in:
parent
76e02da0e7
commit
ab4a384444
@ -27,6 +27,7 @@
|
||||
|
||||
#include <QFormLayout>
|
||||
#include <QLineEdit>
|
||||
#include <QPlainTextEdit>
|
||||
#include <QListWidget>
|
||||
#include <QPushButton>
|
||||
|
||||
@ -155,10 +156,10 @@ void ADMCTestStringOtherEdit::add_new_other_value() {
|
||||
auto string_attribute_dialog = list_attribute_dialog->findChild<StringAttributeDialog *>();
|
||||
QVERIFY(string_attribute_dialog);
|
||||
|
||||
auto string_attribute_dialog_line_edit = string_attribute_dialog->findChild<QLineEdit *>();
|
||||
auto string_attribute_dialog_line_edit = string_attribute_dialog->findChild<QPlainTextEdit *>();
|
||||
QVERIFY(string_attribute_dialog_line_edit);
|
||||
|
||||
string_attribute_dialog_line_edit->setText(new_value);
|
||||
string_attribute_dialog_line_edit->setPlainText(new_value);
|
||||
|
||||
string_attribute_dialog->accept();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user