Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run a test case that tries to set a blob value #261

Open
abstratt opened this issue Dec 6, 2019 · 0 comments
Open

Cannot run a test case that tries to set a blob value #261

abstratt opened this issue Dec 6, 2019 · 0 comments

Comments

@abstratt
Copy link
Owner

abstratt commented Dec 6, 2019

Cannot run a test case that tries to set a blob value (in this case, the Expense tests).

    operation receiptProvided();
    begin
        var expense : Expense;
        begin
            expense := Tests#declare(500.0);
            Assert#isTrue(expense.receiptRequired);
        end;
        begin
            expense.receipt := new Picture;
            Assert#isTrue(not expense.receiptRequired);
            expense.submit();
        end;
    end; 

Will result in:

✘ expenses_tests::Tests.receiptProvided
Cause: com.abstratt.kirra.KirraException: Unknown namespace: mdd_media

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant